I have made a custom platform movement in MMF for a snowboarding game, and I just wanted to know people's methods for stopping the character from jittering up and down 1 pixel when on the ground.
The events I have for this look something like:
<Detector is overlapping backdrop>: Set Y Velocity("Player") to 0, Set Y position of ("Player") to Y Position of ("Player") - 1
Which pushes him up off the ground, but the gravity event pushes him back down again, which causes the player to bounce on the ground. How do I smooth this out?
If character is overlapping ground, start a loop 'push' if hes not, stop loop
Run loop push 1 or 2 times. I just made a custom movement using that and my character never goes through the ground