Actor stops moving after collision

ETGgamesETGgames Member, PRO Posts: 190

I have a platform game with the normal left, right, jump and shoot buttons. There are walls throughout the game that the player collides into. However, for example, if there is a hurdle that the actor has to jump over, and if the player collides with the wall (which makes his linear x velocity 0 obviously) and he jumps, he will jump higher than the hurdle, but even when he is no longer colliding with the hurdle, his linear velocity x remains at 0 until the right/left button is let go of and then pressed again.

Comments

Sign In or Register to comment.