What it does
Update3DPhysicsPickJoint updates PickJoint on a 3DPhysics object. It takes jointID (an integer) and positionVec3 (an integer), and returns nothing. jointID is the id of a Joint object, obtained elsewhere in the 3DPhysics family.
Syntax
Update3DPhysicsPickJoint(jointID integer, positionVec3 integer)Parameters
| Name | Type |
|---|---|
| jointID | integer |
| positionVec3 | integer |
Every form returns
nothing
Example · generated
object = LoadObject("assets/media.obj")joint = Create3DPhysicsPickJoint(object, 1)Update3DPhysicsPickJoint(joint, 1)DO Sync()LOOPLoadObject and Create3DPhysicsPickJoint are there to give the call something to act on; Update3DPhysicsPickJoint 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.