Ce que fait la commande
Create3DPhysicsStaticPlane crée StaticPlane sur un objet 3DPhysics. Il prend normlX (un flottant), normalY (un flottant), normalZ (un flottant) et offsetPosition (un flottant), et rend un entier.
Syntaxe
Create3DPhysicsStaticPlane(normlX float, normalY float, normalZ float, offsetPosition float) → integerParamètres
| Nom | Type |
|---|---|
| normlX | float |
| normalY | float |
| normalZ | float |
| offsetPosition | float |
Chaque forme rend
integer
Exemple · engendré
3DPhysicsStaticPlane = Create3DPhysicsStaticPlane(1.0, 1.0, 1.0, 1.0)DO Sync()LOOPCreate3DPhysicsStaticPlane est appelé et sa réponse est affichée à chaque image. 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.