A constructor defined in BBMOD_SphereCollider.gml
Extends BBMOD_Collider
new BBMOD_SphereCollider([_position[, _radius]])
A sphere collider.
Name | Type | Description |
---|---|---|
_position | Struct.BBMOD_Vec3 |
The position of the sphere Defaults to (0, 0, 0) . |
_radius | Real |
The radius of the sphere. Defaults to 1. |
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_PlaneCollider
Copyright © 2025, BlueBurn. Built on January 04, 2025 using GMDoc.