i working on some collision detection, currently on bumping a ball from a slope/diagonal line.
i use the projection of the ball’s direction on the slope to get the impact point and test, if the
normal from this point to the ball’s center is <= the radius of the ball.
now im searching for a good way of getting the reflection vector. the incoming angle is the
same as the outgoing one … but my try looks a little too elaborately…
any good hints ?