RESOLVED INVALID239458
Animation looping in AR even if not specified.
https://bugs.webkit.org/show_bug.cgi?id=239458
Summary Animation looping in AR even if not specified.
Kewal Gokuldas
Reported 2022-04-18 12:05:16 PDT
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.
Attachments
Antoine Quint
Comment 1 2022-04-19 23:57:37 PDT
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.
Kewal Gokuldas
Comment 2 2022-04-20 11:13:08 PDT
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.
Antoine Quint
Comment 3 2022-04-20 11:23:45 PDT
That helps, thank you.
Antoine Quint
Comment 4 2022-04-20 11:38:15 PDT
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.
Dean Jackson
Comment 5 2022-04-20 13:46:07 PDT
Yeah, it seems this behaviour is specific to model-viewer's in-page implementation.
Kewal Gokuldas
Comment 6 2022-04-20 14:37:33 PDT
I see. So it will be a new feature to control animation in AR? Until then any animation from model-viewer will keep looping ?
Antoine Quint
Comment 7 2022-04-21 00:13:38 PDT
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 }
Kewal Gokuldas
Comment 8 2022-04-23 08:20:45 PDT
THANKS !
Radar WebKit Bug Importer
Comment 9 2022-04-23 08:20:55 PDT
Note You need to log in before you can comment on or make changes to this bug.