Skip to content

CorrectionOffset

const CorrectionOffset: Trait<{ offset: () => Vector3; previous: () => Vector3; seconds: number; }>

Defined in: packages/engine/src/gameplay/replication/traits.ts:29

How far the own hero is drawn off her transform after the room corrected her: where she stood less where the room put her, closing to none as seconds run out. previous is the offset before the last step, which the frame draws from as it draws her transform.