Skip to content

Commit

Permalink
[3D character] Fix the "is falling" condition from being true when th…
Browse files Browse the repository at this point in the history
…e character is going up
  • Loading branch information
D8H committed Jan 18, 2025
1 parent 4a685db commit b8ae2ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ namespace gdjs {
*/
isFalling(): boolean {
return (
!this.isOnFloor() ||
this.isFallingWithoutJumping() ||
(this.isJumping() && this._currentFallSpeed > this._currentJumpSpeed)
);
}
Expand Down

0 comments on commit b8ae2ea

Please sign in to comment.