Answer the question
In order to leave comments, you need to log in
unity. How to get data from the accelerometer without taking into account free fall acceleration?
You need to get device acceleration. I started looking for different sources, including a tutorial that uses native Android tools. There was an example when they got an acceleration without g, that is, if you leave the device motionless, then the program will give zeros, and not the ill-fated 9.8 m / s ^ 2 on one of the axes. But in Unity this was not found, the accelerometer readings are always displayed taking into account the acceleration of free fall. How to be?
Answer the question
In order to leave comments, you need to log in
Gyroscope.userAcceleration returns acceleration without gravity.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question