new BoxCollider()
BoxCollider Component. Used for AABB Collision detection.
- Source
Extends
Members
(readonly) properties
The entity that this component is attached to.
- Inherited From
- Source
Methods
deserialize(props)
Populates the component properties from a data object. Override this method for custom property handling.
Parameters:
| Name | Type | Description |
|---|---|---|
props | object | The properties object (usually from JSON). |
- Overrides
- Source