The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

Accelerometer Questions

  • Filter
  • Time
  • Show
Clear All
new posts

  • Accelerometer Questions

    how do you start using the accelerometer to control your games?
    or can you even use it yet?
    and how do you change the default controls or add new controls?

  • #2
    The MobilePlayerInput class should provide access to the tilt values I believe. You would need to set that as the InputClass in your PlayerController (which needs to extends from GamePlayerController at some point) to use it instead of the regular PlayerInput class. MobilePC.uc is a good example.

    There is more info on input here:

    Look for that document to get an update with examples and a more in-depth explanation of setting up controls in the near future. If you still have questions on how the controls work after reading through that, just post back and I will try to walk you through it.