Hello. I am trying to make an object "on drag" rotate from it's pivot point. So how I went about it so far is...
1. I created my "draggable" object and gave it a clamp value of 100,300 on the vertical axis. that works fine. But when I drag this object, I want another object to rotate according to the drag value a certain amount of degrees. (ex: between 20d and 360d).
Is there a way to "map" a range from an object to another object. EX: range 100,300 to angle 20, 360?
If not, then I have to find where in the range of my dragged object I'm at, convert it to a percentage, then do the same math on my rotating object, correct?
Thx!
Marc.