I’m bouncing a cube over a plane with a bouncy physic material. Then I’m manipulating that cube so that I can move it along the x and z axis.
I’m using rigidbody.AddForce to move the cube along those axis, and when I do that the cube no longer falls flat. Obviously when it collides with the plane it starts rotating and it no longer falls flat…
I’ve also tried manipulating transform.position instead of adding forces, but somehow after a few bounces the same happens.
So how can I avoid this? How can I make the object always fall flat (without any kind of rotation)?