Luanti 5.10 has no server-side camera API, so we fake a 2D side view:
strata_player:avatar: a physical upright_sprite entity on the z=0 plane, driven by the player's left/right/jump keys
strata_player:camera: an invisible entity attached 22 nodes in front of the avatar
The player is attached to the camera entity. The client ignores attachment offsets for the local player's camera, which is why the chain is needed.
FOV is 52° and the look is clamped to ±0.32 rad pan, used for aiming
Variable-height jump, auto-step, fall damage
Implemented in mods/strata_player.
Luanti 5.10 has no server-side camera API, so we fake a 2D side view:
- `strata_player:avatar`: a physical `upright_sprite` entity on the z=0 plane, driven by the player's left/right/jump keys
- `strata_player:camera`: an invisible entity attached 22 nodes in front of the avatar
- The player is attached to the camera entity. The client ignores attachment offsets for the local player's camera, which is why the chain is needed.
- FOV is 52° and the look is clamped to ±0.32 rad pan, used for aiming
- Variable-height jump, auto-step, fall damage
Implemented in `mods/strata_player`.
claude
added this to the v0.1 Prototype milestone 2026-11-07 18:27:38 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Luanti 5.10 has no server-side camera API, so we fake a 2D side view:
strata_player:avatar: a physicalupright_spriteentity on the z=0 plane, driven by the player's left/right/jump keysstrata_player:camera: an invisible entity attached 22 nodes in front of the avatarImplemented in
mods/strata_player.