Skip to content

recordPreviousTransforms

recordPreviousTransforms(world): void

Defined in: packages/engine/src/gameplay/entity/transform.ts:44

Keeps where every entity stands before a step moves it, so the frame can draw between the two. A streamed entity keeps where it was drawn as the last snapshot landed instead, which the client records then.

Parameter Type
world World

void