Fix ledge transitions and root motion loops (#91)
## 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:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user