Bug 239458
| Summary: | Animation looping in AR even if not specified. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Kewal Gokuldas <kewalkishang> |
| Component: | WebXR | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | dino, graouts, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://maple-summer-branch.glitch.me/ | ||
Kewal Gokuldas
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Antoine Quint
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
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
That helps, thank you.
Antoine Quint
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
Yeah, it seems this behaviour is specific to model-viewer's in-page implementation.
Kewal Gokuldas
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
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
THANKS !
Radar WebKit Bug Importer
<rdar://problem/92217001>