Create3DPhysicsConeTwistJoint

Family: 3DPhysics · One form

What it does

Create3DPhysicsConeTwistJoint creates ConeTwistJoint on a 3DPhysics object. It takes objA (an integer), objB (an integer), positionVec3 (an integer), rotationVec3 (an integer) and disableCollisions (an integer), and answers an integer.

Syntax

Create3DPhysicsConeTwistJoint(objA integer, objB integer, positionVec3 integer, rotationVec3 integer, disableCollisions integer) → integer

Parameters

NameType
objAinteger
objBinteger
positionVec3integer
rotationVec3integer
disableCollisionsinteger

Every form returns

integer

Example · generated

3DPhysicsConeTwistJoint = Create3DPhysicsConeTwistJoint(1, 1, 1, 1, 1)DO  Sync()LOOP

Create3DPhysicsConeTwistJoint 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