1. We're looking for feedback on Unity Starter Kits! Let us know what you’d like.
    Dismiss Notice
  2. Unity 2017.2 beta is now available for download.
    Dismiss Notice
  3. Unity 2017.1 is now released.
    Dismiss Notice
  4. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  5. Reddit AMA with Adam Myhill on Cinemachine, Thurs July 27 - 10AM PT. More info.
    Dismiss Notice
  6. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  7. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice

Tilt Controls General Advice

Discussion in 'General Discussion' started by Dreeka, Apr 13, 2012.

  1. Dreeka

    Dreeka

    Joined:
    Jul 15, 2010
    Posts:
    499
    Hey,

    I would like to create a tilt control schematics for my marble rolling game, similar to Gears, or Mad o Ball 3D.

    I would like to ask for some advice, example, or guide on how to create a system like this. I know I have to use Input.acceleration, but some things are not clear. Like how to handle the calibration, or how to check for the device's angle, to set a maximum angle of acceleration.

    Thanks for your help!