Function InputSingleton.getGravity
If the device has an accelerometer, this will return the gravity. Otherwise, it returns an empty Vector3
.
If the device has an accelerometer, this will return the gravity. Otherwise, it returns an empty Vector3
.