What it does
Physics3DJointPositionVector takes jointID (an integer), and answers an integer. jointID is the id of a Joint object, obtained elsewhere in the 3DPhysics family.
Syntax
Physics3DJointPositionVector(jointID integer) → integerParameters
| Name | Type |
|---|---|
| jointID | integer |
Every form returns
integer
Example · generated
joint = CreateWeldJoint(1, 1, 100.0, 120.0, 1)DO Print(Physics3DJointPositionVector(joint)) Sync()LOOPCreateWeldJoint is there to give the call something to act on; Physics3DJointPositionVector is the line that matters. 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.