| 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/ | ||
|
Description
Kewal Gokuldas
2022-04-18 12:05:16 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. 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 ! |