Steering Wheel Script

Hello guys,

does anyone know how ca I implement something like this, or if there is any script like that which I can buy.

Image: http://m.img.brothersoft.com/android/6f/6fda2d3405e13f9e20003717244249d3_screen4.jpg

1833685--117607--steeringWheel.jpg

Does anyone know ??

Up up

That would be pretty easy to do with NGUI, and you can use it for all your other interface needs.

Yes, or if you want to roll your own script, you can use some trigonometry to compute the angle of touch on the wheel and maybe this utility function :

(but that would be “reinventing the wheel” :slight_smile: )

Really that’s a analogue left/ride slide, and the wheel just rotates from angle A to angle B depending on the distance between the left and right. I can’t imagine you’d ever want to actually gesture a circle with your finger, right?

i have written a script for a mobile steering wheel :slight_smile:
here is the thread http://forum.unity3d.com/threads/219122-Mobile-Steering-Wheel-Script-Multi-Touch-And-Multiple-Objects-Are-Supported-!?p=1462712