A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Discussion in 'Community Learning & Teaching' started by yasirkula, Aug 21, 2013.
Updated in 2015.. Still a Life saver in 2018!!! Thankyou Maestro!!
✅ [ SOLUTION ] Here is a detailed video tutorial with free Asset follow this video to implement the Steering wheel script to a car.
That's amazing! Thanks for creating this tutorial!
Very good! thanks for the script, using it on a almost released game! more info here: https://www.facebook.com/realitystudiord/?ref=settings
Glad to see it in production!
somebody explain me please! i bought a pickup truck from assets store. i have keyboard controls and mouse for freelock camera. how i can put steering wheel controls for mobile? im stuck at this please help i searched and tried all i saw
Attach the SteeringWheel script to the steering wheel UI object and use its GetClampedValue function to retrieve its input value. Alternatively, you can take a look at SimpleInput (it has a built-in steering wheel): https://github.com/yasirkula/UnitySimpleInput/
I'm totally new in unity.
I have done steering wheel as you suggest.
Now what should i do so that my car follow the input of steeringwheel.
I'm makign racing game for mobile.
Please help me.
You should store SteeringWheel in a public variable and replace Input.GetAxis("Horizontal") with steeringWheelObject.GetClampedValue() in your script.
Thanks a lot sir for your quick reply.
But,I actually didn't get where to I should store SteeringWheel as a public variable.I have tried "steeringWheelObject.GetClampedValue()" in my script,But I get error for "GetClampedValue()".
Please Help me.
public SteeringWheel steeringWheelObject; in your car controller/input script. Then, assign its value from the Inspector.
public SteeringWheel steeringWheelObject;