Physics3DStaticPlaneRotation

Family: 3DPhysics · One form

What it does

Physics3DStaticPlaneRotation sets StaticPlaneRotation on a 3DPhysics object. It takes planeID (an integer), angX (a float), angY (a float) and angZ (a float), and returns nothing. planeID is the id of a Plane object, obtained elsewhere in the 3DPhysics family.

Syntax

Physics3DStaticPlaneRotation(planeID integer, angX float, angY float, angZ float)

Parameters

NameType
planeIDinteger
angXfloat
angYfloat
angZfloat

Every form returns

nothing

Example · generated

plane = CreateObjectPlane(64.0, 64.0)Physics3DStaticPlaneRotation(plane, 1.0, 1.0, 1.0)DO  Sync()LOOP

CreateObjectPlane is there to give the call something to act on; Physics3DStaticPlaneRotation 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.

144 commands in 3DPhysics