Raycast

function

Raycast(_ray)

Description

Casts a ray against the collider.

Arguments

Name Type Description
_ray Struct.BBMOD_Ray The ray to cast.
_result Struct.BBMOD_RaycastResult/Undefined Where to store additional raycast info to.

Returns

Bool Returns true if the ray hits the collider.

Throws

See also

BBMOD_Ray.Raycast, BBMOD_RaycastResult

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on June 19, 2022 using GMDoc.