moveActorsThroughPhysics
moveActorsThroughPhysics(
world,deltaSeconds):void
Defined in: packages/engine/src/gameplay/physics/actors.ts:568
Moves every actor from where it stood toward where the step’s movement put it, through the walk, and then steps the Rapier world. The movement is read off the transform, so the steer and the path stay as they are. The collider bodies go in before the actors, so a walker pushes a ball the step it spawns, and their poses come out after the step.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
deltaSeconds |
number |
Returns
Section titled “Returns”void