How can i access device rotation sensor in Unity?
Please provide your development details as below;
1. SDK Version: 5.x
2. Development Environment: (eg. Unity-Android, Unity-iOS, Native Android, Native iOS) Unity-Android
3. Tracker/Scanner: Tracker
4. License Type(Free / Pro-One Time Fee / Pro-Subscription / Enterprise): Pro-One Time Fee
5. Target Device(Optional): Moverio bt-350
Hello MAXST Team,
I need to delelop program that can respond to user's rotation value from certain point. For this to work i have to access rotation sensor. How can i get device rotation value in Unity?
Thank you
Thanks for your interest to our MAXST AR SDK.
MAXST Forum only answers program bug and questions about MAXST AR SDK.
But, We will share information you.
You can get the device rotation value through Gyroscope.rotationRate() func in Unity script.
Please reference to Unity documentation.
https://docs.unity3d.com/2018.4/Documentation/ScriptReference/Gyroscope-rotationRate.html
If you have other questions, feel free to questions us.
Best regards
Francisco
MAXST Support Team
Thank you, for your reply and giving me valuable information.
Best regards,
byambag12