What it does
Create3DPhysics6DOFJoint creates 6DOFJoint on a 3DPhysics object. It takes objA (an integer), objB (an integer), positionVec3 (an integer) and rotationVec3 (a float), and answers an integer.
Syntax
Create3DPhysics6DOFJoint(objA integer, objB integer, positionVec3 integer, rotationVec3 float) → integerParameters
| Name | Type |
|---|---|
| objA | integer |
| objB | integer |
| positionVec3 | integer |
| rotationVec3 | float |
Every form returns
integer
Example · generated
3DPhysics6DOFJoint = Create3DPhysics6DOFJoint(1, 1, 1, 45.0)DO Sync()LOOPCreate3DPhysics6DOFJoint is called and its answer is printed every frame. 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.