Add ledge getup, ledge intangibility limit & fix walk-off velocity (#93)
Reviewed-on: #93 Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #93.
This commit is contained in:
@@ -25,6 +25,7 @@ impl FighterStateImpl for FallState {
|
||||
|
||||
fn on_enter(&mut self, state_context: &mut EnterContext) {
|
||||
state_context.play_animation(AnimKind::Fall, true);
|
||||
state_context.velocity.x = state_context.velocity.x.clamp(-state_context.fighter_attributes.air_drift_max, state_context.fighter_attributes.air_drift_max);
|
||||
}
|
||||
|
||||
fn update(&mut self, state_context: &mut UpdateContext) {
|
||||
|
||||
Reference in New Issue
Block a user