Rotated coordinates
Please provide your development details as below;
1. SDK Version:
2. Development Environment: (eg. Unity-Android, Unity-iOS, Native Android, Native iOS)
3. Tracker/Scanner:
4. License Type(Free / Pro-One Time Fee / Pro-Subscription / Enterprise):
5. Target Device(Optional):
1)4.1
2)unity-android
3)Image
4)free
5)Redmi note 4
Hello, recently i found out that in your sdk all positioning is rotated 90 around x axis(so default camera is the same)- What is the easiest way to change that without issues with functionality?- hard to use existing scripts with that situation...
The GL user puts things in front of the objects to be rendered.
Unity users, however, put things on the floor.
We just rotated it in Unity, so if you want to use it in a way that is familiar to GL
Remove the following two lines.
AbstractARManager.cs
Update ()
{
Quaternion rotation = Quaternion.Euler (90, 0, 0);
}
Trackable.cs
public Matrix4x4 GetPose ()
{
Quaternion rotation = Quaternion.Euler (90, 0, 0);
}
Leo
Maxst Support Team
Thanks for reply,
I think it would be wiser to make Quaternion rotation = Quaternion.Euler (0, 0, 0); or functions that use rottion will crash...
Also should I change line in Trackable rotation = Quaternion.Euler (-90, 0, 0); as well?
Thanks for the good advice. Good luck to you!
Leo
Maxst Support Team