Mobile sensor testing

Hello guys, I am developing a mobile game.

I use the three mobile input : Acceleration, Gravity, Tilt

How can I testing their value on Mobile preview? or any other method?

Or, only way to test that is package to .apk and install in mobile?

Hi Smallee,

To test the specific values received, you should be able to create a print string off of the input event nodes within your blueprints. You should be able to test this in mobile preview, though the best test will be on the specific mobile devices you are working with. In this case, you should be able to print the values to screen and show what specific changes are occurring when you perform different actions.

But those four values are “Sensor” values.
In mobile preview, they always (0,0,0)

I am not sure if mobile preview is a “Simulator” or just a landscape window with two controller.

If it is, could it Simulate the angle of Tilt or Acceleration of device on the computer?

I believe for testing these specific values you will have to package to .apk and test it on the mobile device.