Virtual Steering Wheel Controller (Unity Source code)-mobile ready simple input touch control system

Author userpic
by hypercasual
Virtual Steering Wheel Controller (Unity Source code)-mobile ready simple input touch control system Android  Mobile Games

Description

This is Unity source code. Perfect for your android or iOS racing game.

Test it here (WebGL)

Or you can download apk and test it on your android device

This asset will provide you with virtual steering wheel that is very easy to setup and use.

How to use it? - Drag and drop “steering wheel.prefab“ from “Prefab” folder into you canvas - Inside your scripts call SteeringWheel.axis static variable to get steering wheel input axis. As simple as that!

Additional Options:

  • “Max Angle” option will determine how much steering wheel can rotate. For example if you put “540” that will allows steering wheel to rotate anywhere between 540 and -540 degree.
  • “Return Value” determine maximum value which script will return when steering wheel reaches value of “Max Angle” variable. For example if you put “540” in “Max Angle” option and “1” in “Return Value” option – when you rotate steering wheel to 540 degree “SteeringWheel.axis” static variable will return 1 and If you rotate to -540, “SteeringWheel.axis” will return -1.
  • “Spin Back To Center” if checked steering wheel will return to 0 degree position once you release input from your steering wheel.
  • “Spin Back To Center Position Speed” – works only if “Spin Back To Center” is checked. This option determine speed at which steering wheel will return back to 0 degree position.

Product tags











    • 6 month free support included from author
    • Free lifetime product updates guarantee
    • 360 degrees quality control
    Secure payment & money back guarantee

    Related products

    Our website uses cookies

    We use cookies on our website. By continuing to use our site, you consent to the use of cookies as described in our Cookies Policy.