Skip to content

Add eye height lerp and crouch support for camera #70

@Purdze

Description

@Purdze

Vanilla lerps eye height at 50% per tick instead of snapping. Target eye height changes when crouching (1.27) vs standing (1.62).

Requires:

  • Crouch/sneak state tracking from player input
  • Eye height lerp: eye_height += (target - eye_height) * 0.5 per tick
  • Affects both first-person and third-person camera

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions