BBMOD_FrustumCollider

A constructor defined in BBMOD_FrustumCollider.gml

Extends BBMOD_Collider

new BBMOD_FrustumCollider()

Description

A frustum collider.

Properties

Name Description
Planes An array of planes that define the frustum.

Methods

Name Description
FromCamera Initializes the frustum using a camera's view-projection matrix.
FromViewProjectionMatrix Initializes the frustum from a view-projection matrix.
GetCorners Retrieves an array of frustum corners.

Inherited methods

Name Description
DrawDebug Draws a debug preview of the collider.
GetClosestPoint Retrieves a point on the surface of the collider that is closest to the point specified.
Raycast Casts a ray against the collider.
TestAABB Tests whether the collider intersects with an AABB.
TestFrustum Tests whether the collider intersects with a frustum.
TestPlane Tests whether the collider intersects with a plane.
TestPoint Tests whether the collider intersects with a point.
TestSphere Tests whether the collider intersects with a sphere.

See also

BBMOD_AABBCollider, BBMOD_PlaneCollider, BBMOD_SphereCollider

Do you find this page helpful?

Copyright © 2024, BlueBurn. Built on July 03, 2024 using GMDoc.