RigidBodyComponentHandler

RigidBodyComponentHandler

For handling loading of rigid body components

Constructor

new RigidBodyComponentHandler(…args)

Parameters:
Name Type Attributes Description
args * <repeatable>

ComponentHandler constructor arguments.

Methods

_remove(entity)

Removes the rigid body component

Parameters:
Name Type Description
entity Entity

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

Update engine rigid body 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