I have a player-object running at a fixed speed in a 2d game. The player will run into a crate, and it’s supposed to push the crate forward.
The problem is, when the crate is pushed, the player get’s bounced a very tiny tiny step backwards - which I don’t want.
The crate is pushed at an OnCollisionEnter2D event, by using “Vector2.MoveTowards”
Player object is non-kinematic
crate is kinematic
They both have RigidBodies2D
If I change them both to non-kinematic the bouncing wont happen. But the crate needs to be kinematic for other reasons.
Can someone point me in a direction to fix this problem?