- Home /
2D Platformer: Framerate causes inconsistency when falling off a platform.
I have a plyer object that's able to move left and right which also always falls, unless it is on the ground.
My problem now is that the moment at which the object starts falling seems framerate dependent. Let's assume a constant framerate and that the player object moves 1 units per frame.
If the ground ends 10 meters after the origin, the object starts falling on the first frame on which it's position on the x-axis is over 10. But due to the player object moving 1 unit per frame, that could be anything between 10.0001 and 11.
This rarely makes a noticable difference but I was wondering what the common solution to this is, if there is one.
Your answer
Follow this Question
Related Questions
2D Physics Problem? 1 Answer
Default Contact Offset Problems 1 Answer
physics Material 2D not working !!!! 1 Answer
Basically how to make a fan in Unity2D 1 Answer
While Moving Left or Right my character falls more slowly. 2 Answers