BulletRotationalLimitMotor

class BulletRotationalLimitMotor

Rotation Limit structure for generic joints.

Inheritance diagram

Inheritance diagram of BulletRotationalLimitMotor

BulletRotationalLimitMotor(BulletRotationalLimitMotor const &copy)
PN_stdfloat get_accumulated_impulse(void) const
PN_stdfloat get_current_error(void) const
int get_current_limit(void) const

Retrieves the current value of angle: 0 = free, 1 = at low limit, 2 = at high limit.

PN_stdfloat get_current_position(void) const
bool get_motor_enabled(void) const
bool is_limited(void) const
void set_bounce(PN_stdfloat bounce)
void set_damping(PN_stdfloat damping)
void set_high_limit(PN_stdfloat limit)
void set_low_limit(PN_stdfloat limit)
void set_max_limit_force(PN_stdfloat force)
void set_max_motor_force(PN_stdfloat force)
void set_motor_enabled(bool enable)
void set_normal_cfm(PN_stdfloat cfm)
void set_softness(PN_stdfloat softness)
void set_stop_cfm(PN_stdfloat cfm)
void set_stop_erp(PN_stdfloat erp)
void set_target_velocity(PN_stdfloat velocity)