Mustapha Gharbi
Mustapha Gharbi

Reputation: 46

ARCore's AugmentedImages rotation

I'm making an AugmentedImage as a trigger to my AR Application. After detecting the image/trigger, I create an Anchor and attach to it different 3D objects as parent. These Objects will move according to it in different Axis : X,Y,Z.

The problem is that ARCore often misses the correct rotation of the Image. This will make a catastrophic impact to the experience because the X & Z Axis could be inverted. So my 3D Objects will move up/down instead of right/left. How can I fix this?

Upvotes: 0

Views: 291

Answers (1)

Mustapha Gharbi
Mustapha Gharbi

Reputation: 46

The only solution that I found for the moment is to test the orientation (eulerAngles) of the detected image before creating the anchor.

Upvotes: 1

Related Questions