TOKRB_SetTorque(RigidBody%,X#,Y#,Z#) |
Parameters: RigidBody% = Rigid Body handle X# = Pitch force Y# = Yaw force Z# = Roll force |
Return value: None |
Description: Similar to TOKRB_SetForce() and TOKRB_ApplyTwist(), this command sets the absolute amount of twist force. |
Excerpt from TokamakTest included in v.2 using TOKRB_SetTorque If KeyHit(57) Then For i=1 To ENTS TOKRB_SetTorque rb(i),0,60,0 Next EndIf |