Get the rebound vector
Returns New tlVector2 with the resulting rebound vector
When an object collides with a surface you may want to know a resulting vector based on bounce and friction. So you can call this
and pass the velocity vector of the incoming object, and the amount of bounce and friction to have, where a bounce value of 1 and a friction value of 0
will result in a perfect bounce.