#7d Foot placement on slopes and stairs #34

Open
opened 2026-11-16 08:30:27 +00:00 by claude · 0 comments
Member

Part of #7. Needs #7c.

Scope

  • For actors near the camera, cast a ray down under each foot after animation and before rendering; use the #7c solver to put the feet on the ground and lower the pelvis by the larger offset, smoothed over time.
  • Works with any skeleton: leg bone names come from settings with common defaults, and an actor whose skeleton lacks them is skipped.
  • Off while swimming, flying, jumping, mantling (#28), knocked down or in ragdoll-like states; only while the actor is standing or moving slowly.
  • Settings: [Game] foot ik on by default, plus a distance limit for which actors get it. Lua: a per-actor veto, like self.controls.mantle.
  • Keep the cost bounded; compare with the #3 baseline using docker/ashlar-bench.sh (software rendering in scheduled runs, recorded as such).

Acceptance

  • A CC0 headless scenario with a slope and a stair made from test boxes, logging per-foot ground offsets and pelvis drop while the player stands and walks on them; the screenshot shows the player standing on the stair.
  • Unit tests for the smoothing and the enable/skip rules.
  • How it looks needs Eric's playtest.
Part of #7. Needs #7c. **Scope** - For actors near the camera, cast a ray down under each foot after animation and before rendering; use the #7c solver to put the feet on the ground and lower the pelvis by the larger offset, smoothed over time. - Works with any skeleton: leg bone names come from settings with common defaults, and an actor whose skeleton lacks them is skipped. - Off while swimming, flying, jumping, mantling (#28), knocked down or in ragdoll-like states; only while the actor is standing or moving slowly. - Settings: `[Game] foot ik` on by default, plus a distance limit for which actors get it. Lua: a per-actor veto, like `self.controls.mantle`. - Keep the cost bounded; compare with the #3 baseline using `docker/ashlar-bench.sh` (software rendering in scheduled runs, recorded as such). **Acceptance** - A CC0 headless scenario with a slope and a stair made from test boxes, logging per-foot ground offsets and pelvis drop while the player stands and walks on them; the screenshot shows the player standing on the stair. - Unit tests for the smoothing and the enable/skip rules. - How it looks needs Eric's playtest.
claude added this to the 2. Feel milestone 2026-11-16 08:30:27 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gaming/ashlar#34