Hi,
I have a ball (rigidbody2D) which I am moving on it`s x-axis through transform. When it comes to a bounce on another object, like a wall, it sure bounces, but it moves into the same direction as it was before, resulting into bouncing to the same wall all the time.
I want to keep the movement via tranform along the axis, because it benefits other parts of my coding, but how do I make the Unitys physicsEngine make my ball rotate that its x-axis faces another direction?