whiterabbit Posted August 24, 2014 Share Posted August 24, 2014 I was trying to use Math:DeltaAngle but it doesn't seem to exist. I guess it is a C++ function that hasn't been exposed to Lua. I'm using this as a temporary fix and it seems to do the job: function Math:DeltaAngle(a,B) local d = b-a d = d + (( (d>180) and -360 ) or ( (d<-180) and 360) or 0) return d end Link to comment Share on other sites More sharing options...
Josh Posted September 5, 2014 Share Posted September 5, 2014 Fixed. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts