What it does
Add3DPhysicsRagDollHingeJoint adds RagDollHingeJoint on a 3DPhysics object. It takes boneAID (an integer), boneBID (an integer), objBoneID (an integer), jointRotationVec3 (an integer), minLimit (a float) and maxLimit (a float), and returns nothing. boneAID is the id of a BoneA object, obtained elsewhere in the 3DPhysics family.
Syntax
Add3DPhysicsRagDollHingeJoint(boneAID integer, boneBID integer, objBoneID integer, jointRotationVec3 integer, minLimit float, maxLimit float)Parameters
| Name | Type |
|---|---|
| boneAID | integer |
| boneBID | integer |
| objBoneID | integer |
| jointRotationVec3 | integer |
| minLimit | float |
| maxLimit | float |
Every form returns
nothing
Example · generated
Add3DPhysicsRagDollHingeJoint(1, 1, 1, 1, 1.0, 1.0)DO Sync()LOOPAdd3DPhysicsRagDollHingeJoint is called with values of the types its signature asks for. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.