RaycastResult.directionWorld

Returns the direction vector of the raycast

Kind: Member

Environments: Game

Game

Open the full Game reference

Get

Returns the direction vector of the raycast

Returns:

Type Description
Vec3 The directional vector of the raycast, with length equal to the range the raycast was created with.