View Full Version : Accelerometer Questions
12-16-2010, 11:49 PM
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?
12-17-2010, 12:25 AM
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.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.