I am using Model-viewer to see an object in AR. But the animation on the object is looping in Quick look even if looping is not on.
Hi Kewal, thanks for filing this bug. However, a testcase is necessary for us to diagnose this issue, please add one and we'll investigate.
https://maple-summer-branch.glitch.me/ Will this help ?(In reply to Antoine Quint from comment #1) > Hi Kewal, thanks for filing this bug. However, a testcase is necessary for > us to diagnose this issue, please add one and we'll investigate.
That helps, thank you.
Going by https://developer.apple.com/documentation/arkit/adding_an_apple_pay_button_or_a_custom_action_in_ar_quick_look, it looks like there isn't an option to control the animation behavior in the AR experience. I could be mistaken though, but I don't expect there is an actual bug here.
Yeah, it seems this behaviour is specific to model-viewer's in-page implementation.
I see. So it will be a new feature to control animation in AR? Until then any animation from model-viewer will keep looping ?
I don't know the particulars of model-viewer. I think in this case it might be more about the USDZ file which does not specify that the animation shouldn't be looping. I'm told that you can codify that an animation should not be looping using "loopStartToEndTimeCode" in the USDZ file: customLayerData = { string creator = "usdzconvert preview 0.62" bool loopStartToEndTimeCode = 0 }
THANKS !
<rdar://problem/92217001>