Polarith AI
1.8

◆ DrawRay() [2/2]

void DrawRay ( Vector3  position,
Vector3  localDirection,
Quaternion  rotation 
)

Display the actual ray as a line with the set Color.

The length of the given localDirection determines the drawn line length.

Parameters
positionThe global start position.
localDirectionThe local direction of the ray.
rotationThe global rotation applied to the local direction.
Imprint