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