Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

How to interpolate two angles across a linearly curved path?

$
0
0
Hi, this is more of a mathematics question, I've developed a linear spline algorithm which produces nice path results, however I would like to "calculate" (for pre-computation purposes) the same kind of angular lerping. However I am unsure how to calculate the angle interpolation besides going through the points and sampling directions.
Screenshots of what I have are below; A = nodeA, B = nodeB, C = currently calculated angle, as you can see it's wrong. I'm banging my head over this! >.<...

How to interpolate two angles across a linearly curved path?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



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