TOKRB_SetAngularMomentum(RigidBody%,X#,Y#,Z#) |
Parameters: RigidBody% = Rigid Body handle X# = Pitch momentum Y# = Yaw momentum Z# = Roll momentum |
Return value: None |
Description: Sets the angular momentum of the rigid body. This is like TOKRB_SetVelocity() in that it does not depend on the mass of the object, and like TOKRB_SetTorque() because it sets twisting motion. It is however, once again recommended to use TOKRB_SetTorque() instead as this sometimes produces un-realistic results and bugs.as |