TOKRB_ApplyTwist(RigidBody%,X#,Y#,Z#) |
Parameters: RigidBody% = Rigid Body handle X# = Pitch force to twist Y# = Yaw force to twist Z# = Roll force to twist |
Return value: None |
Description: Apply a twist force to the rigid body. This is like applyimpulse in that the more mass the object has, the less this command affects it. |
Excerpt from a variation on TokamakTest included in v.2 using TOKRB_ApplyTwist If KeyDown(57) Then For i=1 To ENTS TOKRB_ApplyTwist rb(i),0,30,0 Next EndIf |