Quantcast
Channel: Latest Questions by aosome23
Viewing all articles
Browse latest Browse all 64

How to use dot product return value

$
0
0
So, is there anyway to make the dot product change linearly? What I mean by this is when the angle is 45 degrees, I want it to be 0.5 instead of 0.7071 as you can see in this image: ![alt text][1] [1]: http://docs.unity3d.com/uploads/Main/CosineValues.png Instead I want 45 degrees to be 0.5, 60 degrees to be 0.33 and 30 degrees to be 0.66. Same would apply for the other side(135 should be -0.5) Thank you

Viewing all articles
Browse latest Browse all 64

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>