BoxCollider

new BoxCollider()

BoxCollider Component. Used for AABB Collision detection.

Extends

Members

(readonly) properties

The entity that this component is attached to.

Inherited From

Methods

deserialize(props)

Populates the component properties from a data object. Override this method for custom property handling.

Parameters:
NameTypeDescription
propsobject

The properties object (usually from JSON).