Commit Graph
3 Commits
Author SHA1 Message Date
adminandClaude Fable 5 2243cc823e Refactor: extract shared helpers across scripts, trim remaining doc redundancy
Deduplication pass (44 extractions):
- New SmoothedLook: shared smoothed yaw/pitch look tick + view seeding
  (FirstPersonController, FreeCamController)
- New CharacterTeleport: disable-CC-around-teleport idiom (rescue,
  owner position apply, free-cam sync)
- New GeometryUtil: RescaleToUnitScale + TransformBounds (concealment
  meter/volume, skinned collider baker)
- Paint family: canonical map read/write shared between Net and
  Persistence, snapshot decode, backend stroke dispatch, RebuildBackend,
  ResolveSeed, chunked RPC send/gate/copy, CamoKnobs/HeightKnobs
  aggregates, SanitizeFileKey, NewMaskTexture, AdoptAlbedo, FindSlider
- Player/modes: GameMode SetPlayerControl/SetPainting/SetOrbitInputEnabled,
  InputUtil.GameplayKeyPressed, NearestClimbHit, ComputeXRay delegates to
  ComputeResolutionFreeze, FingerIK TryInPlaneAngle
- Match/misc: UnhookSessionCallbacks, SendEmptyNamedMessage, SwapScenes,
  RunSessionOpAsync, CovarianceEigen, CollectClusterPoints, MatchHud
  GUIStyle cache, HsvColorPicker rehook, VoxelCenter

Documentation pass: remove 6 triplicated doc blocks and 2 restating
inline comments left after the previous reduction.

Behavior-neutral; hot-path rasterizer loops intentionally untouched.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 12:33:48 +02:00
adminandClaude Fable 5 066e308cde Docs: reduce over-documentation across gameplay scripts
Trim restated narration, dead commented-out code, and oversized class
headers; keep all why-comments (authority, timing, edge cases), tooltips,
and serialization caveats.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 10:08:28 +02:00
adminandClaude Opus 4.8 7d787b768d Add finger IK system for the hand rig
FingerIK: per-finger hinge-constrained CCD solver over a local +Y bone
chain. Procedural curl seed (rest-relative) blended with optional IK
reach toward a target via ikWeight, plus a lateral DOF on the base joint
so targets can pull fingers slightly sideways and upward (back-of-hand).
Runs in edit mode via [ExecuteAlways] + an EditorApplication.update tick.

HandIK: auto-discovers the five fingers under the hand root, wires a
FingerIK per finger (thumb gets its own limits), exposes inspector target
slots, and drives all solves once per frame/tick. Pushes the rig curl
hinge axis (-X) and limits centrally so re-discovery corrects already
serialized components. Live ikWeight broadcast; non-destructive target
resolution (a FingerIK's own target survives an empty manager slot).
Input signature is additive so every finger refreshes live while dragging.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 05:59:22 +02:00