A constructor defined in BBMOD_PlaneCollider.gml
Extends BBMOD_Collider
new BBMOD_PlaneCollider([_normal[, _distance]])
A plane collider.
Name | Type | Description |
---|---|---|
_normal | Struct.BBMOD_Vec3 |
The plane's normal vector. Defaults to BBMOD_VEC3_UP. |
_distance | Real |
The plane's distance from the world origin. |
Name | Description |
---|---|
Distance | The plane's distance from the world origin. |
Normal | The plane's normal vector. |
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_FrustumCollider, BBMOD_SphereCollider
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.