Files
workouts/Workouts/Resources/ExerciseMotions/Incline Bench Press.motion.json
T
rzen fd2deaa9c7 Give cross-body bars a true 3D axis and fix the goblet squat hold
The orbit was always a real camera orbit — figure and props share one
rigid rotation — but a bar's screen-space angle authored the wrong 3D
rod: the default horizontal encoded a rod along the body axis, so
barbells hovered fixed on screen and vanished at the head-on view
where they should span widest. Line props now take "axis": "z" (both
renderers in lockstep, fixture-pinned): the world left-right direction
projects through the camera pitch like the floor quad — end-on plates
in profile, full span face-on, swinging with the hands in between.
Applied to the ten cross-body bars; vertical handles were already
orbit-invariant.

Goblet Squat's hand pins sat so close to the shoulders that the
two-bone IK was degenerate, flipping between a chicken-wing and an
elbow-behind solve; re-pinned level with the shoulders so the elbows
tuck straight down through the whole rep.

Claude-Session: https://claude.ai/code/session_01HJDQQDA9QdP8zByg43H5v3
2026-07-08 12:49:35 -04:00

41 lines
1.3 KiB
JSON

{
"name": "Incline Bench Press",
"primary": 1,
"camera": {"zoom": 0.85},
"working": ["arm_r", "arm_l"],
"props": [
{"type": "scene", "shapes": [
{"kind": "line", "pts": [[142, 127], [86, 60]], "w": 9, "depth": 8},
{"kind": "line", "pts": [[140, 130], [166, 127]], "w": 8, "depth": 8},
{"kind": "line", "pts": [[152, 133], [152, 150]], "w": 5}
]},
{"type": "bar", "axis": "z", "at": ["hand_r", "hand_l"], "halfLen": 26, "plateR": 12}
],
"frames": [
{
"hold": 0.4, "tween": 0.9,
"root": {"pos": [148, 122], "pitch": -38},
"spine": [0, 0],
"neck": 18, "head": -4,
"shoulder_r": 30, "elbow_r": 115,
"shoulder_l": 30, "elbow_l": 115,
"hip_r": 85, "knee_r": 75, "ankle_r": 5,
"hip_l": 85, "knee_l": 75, "ankle_l": 5,
"pins": {"foot_r": [198, 148], "foot_l": [202, 150],
"hand_r": [106, 38], "hand_l": [110, 40]}
},
{
"hold": 0.4, "tween": 1.2,
"root": {"pos": [148, 122], "pitch": -38},
"spine": [0, 0],
"neck": 18, "head": -4,
"shoulder_r": 118, "elbow_r": 5,
"shoulder_l": 118, "elbow_l": 5,
"hip_r": 85, "knee_r": 75, "ankle_r": 5,
"hip_l": 85, "knee_l": 75, "ankle_l": 5,
"pins": {"foot_r": [198, 148], "foot_l": [202, 150],
"hand_r": [98, -3], "hand_l": [102, -1]}
}
]
}