For context, I am trying to implement a parallax effect. The parallax effect is contingent upon my player’s 2d movement. When he moves, the backgrounds move at a fraction of the player’s velocity.
The player’s velocity.x is modified through AddForce functions (impulse).
However, when the player its a boxCollider2D, even though he is not moving in the scene, his velocity is still apparently non-zero. Why is this?
And if it is impossible to use Rigidbody2D.velocity to get what I need for parallax, what other methods can I use to get the player’s “true” in game speed.