Physics3DRayCastNormalVector

Family: 3DPhysics · One form

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

NameType
rayIDinteger
returnVec3IDinteger

Every form returns

nothing

Example · generated

ray = Create3DPhysicsRay()Physics3DRayCastNormalVector(ray, 1)DO  Sync()LOOP

Create3DPhysicsRay 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.

144 commands in 3DPhysics