How to replace ar-prompt to my own image (fixed in the center of screen, without animations)! #4038
-
I'm trying to replace the hand.png to my own .gif. I could change it setting the src in the img input of the "ar-prompt"! But it keeps going around in circles, in the way that the hand.png does.
But it didn't help. How can I do that? What do I do? I found it is a bit hard to debug this feature (ar-prompt) on the browser, considering it doesn't run AR! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It's a little hard to tell without code or a link, but I'm guessing you're modifying this example? This line causes the circle animation, so you can just remove that from the CSS: For debug, simply connect your Android phone running Chrome to your laptop over USB, and point your laptop Chrome to chrome://inspect. Accept permissions and you can see and debug your Android chrome tabs on your laptop. You can even forward ports to let your phone access a local web server. Then you really can debug in AR. |
Beta Was this translation helpful? Give feedback.
It's a little hard to tell without code or a link, but I'm guessing you're modifying this example? This line causes the circle animation, so you can just remove that from the CSS:
animation: elongate 2s infinite ease-in-out alternate;
.For debug, simply connect your Android phone running Chrome to your laptop over USB, and point your laptop Chrome to chrome://inspect. Accept permissions and you can see and debug your Android chrome tabs on your laptop. You can even forward ports to let your phone access a local web server. Then you really can debug in AR.