Interface PhysicalObjectCallbackAggregate

interface PhysicalObjectCallbackAggregate {
    object: PhysicsObject;
    onCollisionCallback: ((params: OnCollisionCallbackParams) => void);
}

Properties

The object to push in the Physical World

onCollisionCallback: ((params: OnCollisionCallbackParams) => void)

Callback to invoke when a collision is detected

Type declaration