Delete3DPhysicsRay

Family: 3DPhysics · One form

What it does

Delete3DPhysicsRay deletes Ray on a 3DPhysics object. It takes rayID (an integer), and returns nothing. rayID is the id of a Ray object, obtained elsewhere in the 3DPhysics family.

Syntax

Delete3DPhysicsRay(rayID integer)

Parameters

NameType
rayIDinteger

Every form returns

nothing

Example · generated

ray = Create3DPhysicsRay()Delete3DPhysicsRay(ray)DO  Sync()LOOP

Create3DPhysicsRay is there to give the call something to act on; Delete3DPhysicsRay 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