/** * Set the body's maximum angular speed. * * The default value is dInfinity, but it's a good idea to limit * it at less than 500 if the body has the gyroscopic term * enabled. * @param b b * @param max_speed max speed * * @see ApiCppWorld#dWorldSetMaxAngularSpeed(DWorld, double) */ //ODE_API public static void dBodySetMaxAngularSpeed(DBody b, double max_speed) { b.setMaxAngularSpeed(max_speed); }
/** * Set the body's maximum angular speed. * * The default value is dInfinity, but it's a good idea to limit * it at less than 500 if the body has the gyroscopic term * enabled. * @param b b * @param max_speed max speed * * @see ApiCppWorld#dWorldSetMaxAngularSpeed(DWorld, double) */ //ODE_API public static void dBodySetMaxAngularSpeed(DBody b, double max_speed) { b.setMaxAngularSpeed(max_speed); }
expGyroBody.setMaxAngularSpeed( 40 );