FEAT : first-person look constraint for restrained players #15

Merged
NotEvil merged 1 commit from feat/first-person-look-constraint into develop 2026-06-26 10:43:03 +00:00
Owner

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.

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.
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.
NotEvil merged commit 92b7c72c1a into develop 2026-06-26 10:43:03 +00:00
NotEvil deleted branch feat/first-person-look-constraint 2026-06-26 10:43:08 +00:00
Sign in to join this conversation.
No reviewers
No labels
Bug
Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
NotEvil/TiedUp-!15
No description provided.