View Single Post
02-12-14, 09:43 AM   #26
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Originally Posted by Vrul View Post
The intended use is to have an action bar follow the tangent line of a function. An action bar should not be upside down which is what values around 180 degrees would do. So if you stick to +/- 180 degree values you no longer need to check for the 0 - 360 degree boundary.
My action bar can be in any position or shape. Even upside down, a complete circle or whatever.

Originally Posted by Vrul View Post
That said, I still think he should post the code that is giving him those values so that it can be tweaked instead of trying to "smooth" it out. By changing the values used he is effectively just using a different base function so why not use that different function from the outset?
The values are calculated from the tangent vector of the bezier points. I'm not even sure if the problem is in my bezier implementation or within the calculation of the angle. I'll try to post it tonight.
  Reply With Quote