Any one have any thoughs on how to make Knobs with circular


#1

Any one have any thoughs on how to make Knobs with circular mouse controls.

I have the image spining correctly with the standerd endless slider control but i need the knob image to follow mouse with circular

Thanks


#2

why circular?

linear is easier and most people prefer it anyway…

if you do want circular though you need a bit of trig. you can get the angle from the center of the knob to the mouse coordinate and then use that to reference the image to display.


#3