Add3DPhysicsRagDollTwistJoint

Family: 3DPhysics · One form

What it does

Add3DPhysicsRagDollTwistJoint adds RagDollTwistJoint on a 3DPhysics object. It takes boneAID (an integer), boneBID (an integer), objBoneID (an integer), jointRotationVec3 (an integer) and limitsVec3 (an integer), and returns nothing. boneAID is the id of a BoneA object, obtained elsewhere in the 3DPhysics family.

Syntax

Add3DPhysicsRagDollTwistJoint(boneAID integer, boneBID integer, objBoneID integer, jointRotationVec3 integer, limitsVec3 integer)

Parameters

NameType
boneAIDinteger
boneBIDinteger
objBoneIDinteger
jointRotationVec3integer
limitsVec3integer

Every form returns

nothing

Example · generated

Add3DPhysicsRagDollTwistJoint(1, 1, 1, 1, 1)DO  Sync()LOOP

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

144 commands in 3DPhysics