mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
Document bug in enable_angular_motor
This commit is contained in:
parent
c0e1a3cdb4
commit
e6d29d6f51
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user