ColliderComponentHandler

ColliderComponentHandler

For handling loading of collider components

Constructor

new ColliderComponentHandler(…args)

Parameters:
Name Type Attributes Description
args * <repeatable>

ComponentHandler constructor arguments.

Methods

_remove(entity)

Removes the collider component

Parameters:
Name Type Description
entity Entity

update(entity, config, options) → {Promise}

Update engine collider component object based on the config.

Parameters:
Name Type Description
entity Entity

The entity on which this component should be added.

config Object
options Object