Closed gre-v-el closed 2 hours ago
The walking animation of the player is playing while the player is standing on a moving platform.
Possible fix: instead of checking player velocity when calculating isWalking, check player velocity - current platform velocity
isWalking
player velocity - current platform velocity
Possible solution: set isWalking based on moveInput instead of velocity
Should be fixed now on branch lab-2. Works for me at least. Also fixed isGrounded activating in jump points.
The walking animation of the player is playing while the player is standing on a moving platform.
Possible fix: instead of checking player velocity when calculating
isWalking
, checkplayer velocity - current platform velocity