Hello
I have tried to using gyroscope on my iPad mini 2 (iOS 9.2.1) but with no luck.
function InputMotion return zeros in all it parameters
PlayerInput->InputMotion(Tilt, RotationRate, Gravity, Acceleration);
A called it from functions ProcessPlayerInput and Tick in AMyPlayerController class.
Also I have tried this code:
InputComponent->BindVectorAxis("ActionTilt", this, &AMyPlayerController::OnTilt);
InputComponent->BindVectorAxis("ActionRotate", this, &AMyPlayerController::OnRotate);
InputComponent->BindVectorAxis("ActionGravity", this, &AMyPlayerController::OnGravity);
InputComponent->BindVectorAxis("ActionAcceleration", this, &AMyPlayerController::OnAcceleration);
Width these settings:
But is also returned zeros in all vectors while I moved my iPad.
All log messages about vectors data I have received through function AddOnScreenDebugMessage.
What I’m doing wrong, or is that a Bug?
Please help me with that.