FEAT : first-person look constraint for restrained players #15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/first-person-look-constraint"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A data-driven look_limit on bondage items clamps the wearer's first-person view
so a restrained player can no longer look around freely: pitch is clamped to a
band and yaw is pinned to a cone around the facing captured when the bind engaged.
Build + unit tests green. In-game behaviour not yet verified.
A data-driven look_limit on bondage items clamps the wearer's first-person view so a restrained player can no longer look around freely: pitch is clamped to a band and yaw is pinned to a cone around the facing captured when the bind engaged. - LookLimit record — pure pitch-clamp + wrap-safe yaw-cone math (+ LookLimitTest) - look_limit JSON {pitch_min, pitch_max, yaw_range} parsed into DataDrivenItemDefinition - FirstPersonLookConstraint resolves the active ARMS bind and latches the engage yaw - MixinEntityLook re-clamps on Entity.turn for the local player Build + unit tests green. In-game behaviour not yet verified.