Rotational Volume Dial

please help the clueless...

Hey people,

hope you're all well!!

Please could someone help me with a 'Rotational Volume Dial'...

Even using just a basic object...

just a one colour circle with a smaller circle of another colour as a marker to show where the volume dial is pointing... just like on a real Hi-Fi.

Please, please, please, please... pretty please !! lol

Thanks
2,961 views 7 replies
Reply #1 Top
Search for SpinButton under desktopX Objects. Is that what you're looking for?
Reply #2 Top
Heya SirSmiley,

Hope you're good !!
Thanks for the snappy response...

I took a look at that object... but it doesn't work too well.
Maybe you could look at my reply in that topic to see what the problem is...

Thanks
Reply #3 Top
Crikey I tried that one ages ago... I failed mind but it would be pretty cool if we found a script that worked.. I use Mouse Over interaction for my volume controls..
Reply #4 Top
Yeah, I see what you mean. Haven't used this script myself nor looked indepth at it. A temp fix would be like Cyberium said or using an animation of some sorts?
Reply #5 Top
Well ... after messing around a bit i managed to get something right!!

I first edited the SpinButton script and ended up getting it to work using 'OnDrag', but i couldn't get it right to spec the min and max values...

However, i myself use Nero... which has an ActiveX control called 'Knob Control 2.0'...

I put the 'Knob Control' in a container making it a child object... (this let's you make the ActiveX control have transparency, in case you didn't know)

I set that object's opacity to 1 and the put a totally opaque object with the activation set to none on top of the 'Knob Control' and also made it a child object.

When the script is first executed i set the 'Knob Control' min to 0 and max to 100 and start position to a variable which changes as you rotate the object... then using Control_PositionChanged i change the System.Volume to Control.Position and make the opaque object on top rotate to Control.Position * 2.4

When the script exits it sets the start position variable to whatever the object's last position was.

I hope this makes sense to you...

Thanks for the feedback though!!
Hopefully someone other than me will find this useful!!

p.s: although the actual knob in the 'Knob Control' always stays the same size... you can increase the object size none the less... the grey area around the knob still changes Control.Position... so you can technically make the object any size you might require...

Regards to the lot of you!!
Reply #6 Top
have you thought about making the rotational knob a parent of a hidden slider object that would be shown on parent click and manipulated on drag of the slider object
Reply #7 Top
Wow epyk!  Good idea . . but pretty late in the game.