Skip to content

eyeSettleSettings

const eyeSettleSettings: object

Defined in: packages/engine/src/gameplay/camera/eyeSettle.ts:7

Name Type Default value Description
eyeClearance number 0.3 Metres the eye is held above the ground. Enough that the near plane clears it rather than slicing through it.
eyeMargin number 0.2 Metres the eye is pulled in short of what the aim ran into, so the near plane clears the face rather than sitting on it.
eyeReturnResponse number 9 A MathUtils.damp lambda per second for the eye sliding back out, realm’s posResponse: without it the frame the trunk clears is a jump to the full distance.