BBMOD_Ray.Raycast

A function defined in BBMOD_Ray.gml

Raycast(_collider[, _result])

Description

Casts the ray against a collider.

Arguments

Name Type Description
_collider Struct.BBMOD_Collider The collider to cast the ray against.
_result Struct.BBMOD_RaycastResult Where to store additional raycast info to or undefined.

Returns

Bool Returns true if the ray hits the collider.

Throws

Note

This is the same as calling _collider.Raycast(_ray, _result)!

See also

BBMOD_Collider.Raycast, BBMOD_RaycastResult

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on January 21, 2024 using GMDoc.