I am making a 2d platformer with unity, and I move the character through a combination of rigidbody and script. I have noticed that the rigidbody’s velocity is highly inaccurate. For example, when standing still, the player’s x-velocity can be around 7.5, and their y velocity can be around 2. These don’t happen all the time, but those values are some of the highest I’ve seen. This is very important as I use the velocity multiple times in my scripts. Thanks!
Your character may be standing on a completely uneven ground, it may be due to attached physics material values or there may be a problem with the inputs in your codes or check physics and gravity settings of engine…