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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
world |
World |
Returns
Section titled “Returns”void