I am currently using a physical projectile system and I want to only ricochet (bounce) projectiles when the angle between the surface normal and the projectile vector is above a certain value. Example:
I’ve looked through several answers on how to achieve this but none of them seem to give me expected results.
Based on [this][2] answer, here is what my BP graph currently looks like for calculating the angle of incidence:
However this is giving me unexpected results. When at a more glancing angle, I seem to get a believable angle value (111 degrees) as seen from this image:
However when I am more head on with the object, the angle gets larger!
I know that the correct answer to this question is for me to get better at vector math, however hopefully someone can point me in the right direction so that I can achieve what I am looking for here.
Thanks.