How to find the angle of incidence of a projectile hit
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 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.
asked Jun 20 '16 at 05:16 PM in Blueprint Scripting
Follow this question
Once you sign in you will be able to subscribe for any updates here