Create3DPhysicsWorld

Family: 3DPhysics · 2 forms

What it does

Create3DPhysicsWorld creates World on a 3DPhysics object. It takes no arguments, and returns nothing. That is the first of 2 forms.

Syntax

1
Create3DPhysicsWorld()
2
Create3DPhysicsWorld(scaleFactor float)

Parameters

NameTypeIn forms
scaleFactorfloat2

Every form returns

nothing

Example · generated

Form 1, the short one

Create3DPhysicsWorld()DO  Sync()LOOP

Form 2, with every argument

Create3DPhysicsWorld(1.0)DO  Sync()LOOP

Create3DPhysicsWorld is called with values of the types its signature asks for. 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