A constructor defined in BBMOD_FrustumCollider.gml
Extends BBMOD_Collider
new BBMOD_FrustumCollider()
A frustum collider.
Name | Description |
---|---|
Planes | An array of planes that define the frustum. |
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. |
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. |
BBMOD_AABBCollider, BBMOD_PlaneCollider, BBMOD_SphereCollider
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.