Extends BBMOD_Collider
constructor
new BBMOD_AABBCollider([_position[, _size]])
An axis-aligned bounding box (AABB) collider.
Name | Type | Description |
---|---|---|
_position | Struct.BBMOD_Vec3 |
The position (center) of the AABB. Defaults to (0, 0, 0) . |
_size | Struct.BBMOD_Vec3 |
The size of the AABB on each axis in both directions (e.g. new BBMOD_Vec3(2) would make a 4x4x4 box). Defaults to (0.5, 0.5, 0.5) . |
Name | Description |
---|---|
Position | The center position of the AABB. |
Size | The size of the AABB on each axis in both directions (e.g. new BBMOD_Vec3(2) would be a 4x4x4 box). |
Name | Description |
---|---|
FromMinMax | Initializes the AABB using its minimum and maximum coordinates. |
GetMax | Retrieves the maximum coordinate of the AABB. |
GetMin | Retrieves the minimum coordinate of the AABB. |
BBMOD_FrustumCollider, BBMOD_PlaneCollider, BBMOD_SphereCollider
Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.