What it does
Ray3DPhysicsExist takes rayID (an integer), and answers an integer. rayID is the id of a Ray object, obtained elsewhere in the 3DPhysics family.
Syntax
Ray3DPhysicsExist(rayID integer) → integerParameters
| Name | Type |
|---|---|
| rayID | integer |
Every form returns
integer
Example · generated
ray = Create3DPhysicsRay()DO Print(Ray3DPhysicsExist(ray)) Sync()LOOPCreate3DPhysicsRay is there to give the call something to act on; Ray3DPhysicsExist 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.