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) → integerParameters
| Name | Type |
|---|---|
| objID | integer |
Every form returns
integer
Example · generated
object = CreateObjectFromHeightMap("assets/media.obj", 64.0, 64.0, 1.0, 1, 1)DO Print(Physics3DRagdollFromBoneObject(object)) Sync()LOOPCreateObjectFromHeightMap 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.