Calculate the greatest decal warping present
Is there a way to tell what is the greatest 'warping' present (the highest amount of bending present) in a decal as it moves based on mouse cursor line trace.
e.g. if it hits part of a straight wall, it would return 90°, 0° if it is completely over flat ground with a positive z normal (180° if the normal is going in negative z space).
This would be a handy alternative to a series of expensive multi spherical or line traces based on impact points to generate the angles.
Follow this question
Once you sign in you will be able to subscribe for any updates here