BBMOD_Ray

constructor

new BBMOD_Ray(_origin, _direction)

Description

A ray used to raycast colliders.

Arguments

Name Type Description
_origin Struct.BBMOD_Vec3 The ray's origin.
_direction Struct.BBMOD_Vec3 The ray's direction. Should be normalized!

Properties

Name Description
Direction The ray's direction. Should be normalized!
Origin The ray's origin.

Methods

Name Description
Raycast Casts the ray against a collider.

See also

BBMOD_Collider.Raycast

Do you find this page helpful?

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