Character unable to jump when falling off an edge
This commit is contained in:
@@ -43,6 +43,8 @@ impl Scene {
|
||||
c.position.y = height;
|
||||
c.speed.y = 0.0;
|
||||
c.ground_collision();
|
||||
} else {
|
||||
c.fall_off();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user