Hy everyone,
My problem is that I want to have an unrealistic bounce between a plane and a ball, and I dont know how to script that.
The problem is after the ball with the plane collides, its rotation stops and bounces a little bit along the y axis also.
Here is a gif to illustrate my problem:
I noticed that when the ball with a capsule-collider colides, the bounce is almost (except the bounce along the y-axis) what i want:
I´ve tried to several functions to fix my problem (Vector3.reflect, calculate the inverse of the rotation, freeze the y position) but nothing worked perfectly. Can somebody help me out?