How to reflect a rayCast in libGDX?

239 Views Asked by At

world.rayCast in libGDX provides back a fixture it hit, a point where it hit, a normal for the surface it hit,and a fraction. How can I calculate the reflection direction for a new rayCast from the hit point?

PS:I am trying to reflect the ray

THANK YOU

0

There are 0 best solutions below