- Home /
Question by
Mrroundtree22 · Mar 20, 2019 at 08:47 AM ·
raycastreflectiondegreesdotproduct
Reflection based on angle
I drew a very pretty picture in order to demonstrate what I mean.
I already have a reflection script however I only want it to activate at a certain angle. For example if you shoot an object at a 25 degree angle the bullet should skid off the surface while other times it does not.
paint.jpg
(26.0 kB)
Comment
here is the code for how to solve it