Skip to content

moveActorThroughPhysics

moveActorThroughPhysics(world, __namedParameters): void

Defined in: packages/engine/src/gameplay/physics/actors.ts:642

Moves one actor as moveActorsThroughPhysics moves each, and nothing else: the Rapier world is not stepped, so every other body stands as it stood, and this one’s body is placed at once, where her next sweep reads it and where the world’s next step has every other sweep meet it. A ball she walks into is pushed only where pushes asks. What a client replays its own hero’s moves through, and a room catches one up through. Her Jump is written after each such step, as the world’s step writes it: her next step’s steer reads it.

Parameter Type
world World
__namedParameters ActorMoveOptions

void