Skip to content

modelViewer animation plays in the preview but not in the XR/AR space #2970

Answered by WadeMorrison
dottiffbot asked this question in Q&A
Discussion options

You must be logged in to vote

I might be wrong, but looking at the code you provided, there is no ios-src, therefore you will not be able to play any animations currently from the auto-generated GLB to USDZ. As stated here. I think in order for you to want an animation to play in both IOS and Android, you will need to provide two separate files (GLB/USDZ) that include the animation.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by dottiffbot
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants