Create3DPhysics6DOFJoint

Family: 3DPhysics · One form

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) → integer

Parameters

NameType
objAinteger
objBinteger
positionVec3integer
rotationVec3float

Every form returns

integer

Example · generated

3DPhysics6DOFJoint = Create3DPhysics6DOFJoint(1, 1, 1, 45.0)DO  Sync()LOOP

Create3DPhysics6DOFJoint 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.

144 commands in 3DPhysics