Optional
props: BoundingBoxComponentPropsSet to true if the bounding box component should act as a container for other objects to not escape from
If set to true it will automatically align the BoundingBox AABB to the parent entity transform
Callback to invoke when a collision with another physical object is detected
Readonly
uuidReturns the Axis Aligned Bounding Box of the component.
The returned value is overridden with the parent entity transform when .matchContainerTransform
is set to true
Protected
mapPushes the physical object to the physics engine for the next update cycle.
the physics engine where to push the physical object for the next update cycle
This component represents a bounding box that can be used for basic collision detection. It stores an Axis Aligned Bounding Box (AABB) defining the bounds.