Fix ledge transitions and root motion loops (#91)
CI / build-and-test (push) Successful in 1m39s
CI / production-build (push) Successful in 12m8s

## Summary

- resolve each ledge action to the walkable segment on the stage-interior side
- preserve repeating root-motion displacement across every animation cycle
- add regression coverage for left/right ledge segments and multiple root-motion wraps
- Implement ledge intangibility

Reviewed-on: #91
Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #91.
This commit is contained in:
2026-10-12 21:38:23 +00:00
committed by EIREXE
parent 9b974d0dd6
commit f53e67d8ad
9 changed files with 93 additions and 34 deletions
+4
View File
@@ -195,6 +195,10 @@ impl EnterContext<'_> {
+ animation_position_to_gameplay(position, self.facing_direction),
)
}
pub fn get_animation_duration(&self, kind: AnimKind) -> Option<usize> {
self.baked_animations.get_animation_duration(kind)
}
}
pub struct ExitContext<'a> {