Physics3DRagdollFromBoneObject

Family: 3DPhysics · One form

What it does

Physics3DRagdollFromBoneObject takes objID (an integer), and answers an integer. objID is the id of a 3D object, obtained elsewhere in the 3DPhysics family.

Syntax

Physics3DRagdollFromBoneObject(objID integer) → integer

Parameters

NameType
objIDinteger

Every form returns

integer

Example · generated

object = CreateObjectFromHeightMap("assets/media.obj", 64.0, 64.0, 1.0, 1, 1)DO  Print(Physics3DRagdollFromBoneObject(object))  Sync()LOOP

CreateObjectFromHeightMap is there to give the call something to act on; Physics3DRagdollFromBoneObject 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.

144 commands in 3DPhysics