What it does
Physics3DStaticPlanePosition sets StaticPlanePosition on a 3DPhysics object. It takes planeID (an integer), posX (a float), posY (a float) and posZ (a float), and returns nothing. planeID is the id of a Plane object, obtained elsewhere in the 3DPhysics family.
Syntax
Physics3DStaticPlanePosition(planeID integer, posX float, posY float, posZ float)Parameters
| Name | Type |
|---|---|
| planeID | integer |
| posX | float |
| posY | float |
| posZ | float |
Every form returns
nothing
Example · generated
plane = CreateObjectPlane(64.0, 64.0)Physics3DStaticPlanePosition(plane, 1.0, 1.0, 1.0)DO Sync()LOOPCreateObjectPlane is there to give the call something to act on; Physics3DStaticPlanePosition 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.