How can I get input from the Accelerometer?
I try to get the Input Motions datas, but all vectors return 0.
When I rotate my iPad4, values returned are null. Only "Gravity" is modified and return a little value, between 0.010 and 0.040, for one axe only. I don't think this is the expected values.
There is other discussions with this problem, encountered in C++ and Blueprint : https://answers.unrealengine.com/questions/25039/how-to-use-accelerometergravity-sensor-data.html
Here it is my test code. Tick function of the PlayerController :
Have you been able to successfully use the accelerometer for input? I will be marking this post as resolved for tracking purposes, but please feel free to reopen it if you still need assistance.
answered Jul 01 '14 at 08:27 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here