Document bug in enable_angular_motor

This commit is contained in:
rdb 2015-07-27 20:01:37 +02:00
parent c0e1a3cdb4
commit e6d29d6f51

View File

@ -211,10 +211,12 @@ get_hinge_angle() {
// Function: BulletHingeConstraint::enable_angular_motor // Function: BulletHingeConstraint::enable_angular_motor
// Access: Published // Access: Published
// Description: Applies an impulse to the constraint so that the // Description: Applies an impulse to the constraint so that the
// angle changes at target_velocity (probably // angle changes at target_velocity where max_impulse
// degrees/second) where max_impulse is the maximum // is the maximum impulse that is used for achieving
// impulse that is used for achieving the specified // the specified velocity.
// velocity. //
// Note that the target_velocity is in radians/second,
// not degrees.
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
void BulletHingeConstraint:: void BulletHingeConstraint::
enable_angular_motor(bool enable, PN_stdfloat target_velocity, PN_stdfloat max_impulse) { enable_angular_motor(bool enable, PN_stdfloat target_velocity, PN_stdfloat max_impulse) {