Ce que fait la commande
Update3DPhysicsPickJoint met à jour PickJoint sur un objet 3DPhysics. Il prend jointID (un entier) et positionVec3 (un entier), et ne rend rien. jointID est l'identifiant d'un objet Joint, obtenu ailleurs dans la famille 3DPhysics.
Syntaxe
Update3DPhysicsPickJoint(jointID integer, positionVec3 integer)Paramètres
| Nom | Type |
|---|---|
| jointID | integer |
| positionVec3 | integer |
Chaque forme rend
rien
Exemple · engendré
object = LoadObject("assets/media.obj")joint = Create3DPhysicsPickJoint(object, 1)Update3DPhysicsPickJoint(joint, 1)DO Sync()LOOPLoadObject et Create3DPhysicsPickJoint sont là pour donner à l'appel quelque chose sur quoi agir : Update3DPhysicsPickJoint est la ligne qui compte. La boucle DO … LOOP n'est pas décorative : un programme BASIC classique s'arrête dès qu'il n'a plus de lignes, et c'est Sync() qui dessine l'image.