Rotation not working properly for Text node #332
-
Hi, I applied rotation like this I need the rotation only in x axis, Can you help on this? |
Beta Was this translation helpful? Give feedback.
Answered by
ThomasGorisse
Mar 8, 2022
Replies: 2 comments 2 replies
-
Quaternion are not expressed in degrees. You have to use this constructor for Euler Angles: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ThomasGorisse
-
And please use the Discussion section |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Quaternion are not expressed in degrees. You have to use this constructor for Euler Angles:
sceneform-android/core/src/main/java/com/google/ar/sceneform/math/Quaternion.java
Lines 42 to 52 in 9541628