AR.js
AR.js copied to clipboard
A-Text Rotate 90 degree
Do you want to request a feature or report a bug? How to rotate a-frame a-text? in location-based
What is the current behavior? Put rotation style but not rotate to 90 degree
If the current behavior is a bug, please provide the steps to reproduce. If you guys know the method, please let me know
Please mention other relevant information such as the browser version, Operating System and Device Name Android 10, Asus ROG Phone 2, Chrome
What is the expected behavior?
If this is a feature request, what is motivation or use case for changing the behavior?
Below is the code:
<a-sphere
color="green"
look-at="[gps-camera]"
scale="0.49205916205718183 0.49205916205718183 0.49205916205718183"
gps-entity-place="latitude: 3.06492; longitude: 101.60849;">
<a-text
look-at="[gps-camera]"
value="Point 1"
color="yellow"
rotation="0 90 0"
scale="7, 7"
position="-2.5 4 0"
z-offset="3"
faceUser: true;>
</a-text></a-sphere>
<a-sphere
90 degrees in which plane?
howabout rotation="0 90 0" ?
90 degrees in which plane?
howabout rotation="0 90 0" ?
I already try that, but that a-text still same, not rotate.
Might be the look-at="[gps-camera]"
? What happens if you remove that line?
Might be the
look-at="[gps-camera]"
? What happens if you remove that line?
Hi, I have try, nothing happen.
Might be the
look-at="[gps-camera]"
? What happens if you remove that line?
I want like this.
Have you try to rotate in different plane? rotation="90 0 0" rotation="0 90 0" rotation="0 0 90" or maybe other numbers and see the effects. and you might also want to change the position if you want the text on the left side.
I am looking for the same solution, I can't move the text even I tried several approaches using rotation and position