how to get a phone rotation

I’ll start by saying that I’m using ue4.27 just in case it’s suddenly important. I need to add a compass to the app. To do this, I need to get the position of the device. I tried to do this through: adding tilt input, through the get input motion state node, and even tried through get device pose, but in all cases I get 0.0 at the output. It seems to me that there is a need to turn on the sensor somehow, but I can’t find how.

Found.

Hi there @AzureStrannik,

Hope you’re well!

This topic has been moved from International to Programming & Scripting: Blueprint.

When posting, please review the categories to ensure your topic is posted in the most relevant space.

Thanks and happy developing! :slight_smile: