Ce que fait la commande
Physics3DStaticPlanePosition règle StaticPlanePosition sur un objet 3DPhysics. Il prend planeID (un entier), posX (un flottant), posY (un flottant) et posZ (un flottant), et ne rend rien. planeID est l'identifiant d'un objet Plane, obtenu ailleurs dans la famille 3DPhysics.
Syntaxe
Physics3DStaticPlanePosition(planeID integer, posX float, posY float, posZ float)Paramètres
| Nom | Type |
|---|---|
| planeID | integer |
| posX | float |
| posY | float |
| posZ | float |
Chaque forme rend
rien
Exemple · engendré
plane = CreateObjectPlane(64.0, 64.0)Physics3DStaticPlanePosition(plane, 1.0, 1.0, 1.0)DO Sync()LOOPCreateObjectPlane est là pour donner à l'appel quelque chose sur quoi agir : Physics3DStaticPlanePosition 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.