A hook must typically be registered by a behavior that requires this one in its onCreate function. The hook must stay forever to avoid side effects like a hooks order change. To handle deactivated behavior, the hook can check that its behavior is activated before doing anything.
Remove a physics object to the list of existing object.
Contact listener to keep track of current collisions
Generated using TypeDoc
Add a physics object to the list of existing object.