syncColliderBodies
syncColliderBodies(
world,handle):void
Defined in: packages/engine/src/gameplay/physics/colliders.ts:87
Gives every entity with a collider its body the first step it is seen, standing where the entity stands, drops the body of one that died, and moves a kinematic body to wherever the step’s other systems put its transform. A dynamic body gets a facing, because it turns as it rolls.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
handle |
PhysicsHandle |
Returns
Section titled “Returns”void