Hubs-Foundation / hubs

Duck-themed multi-user virtual spaces in WebVR. Built with A-Frame.
https://hubsfoundation.org
Mozilla Public License 2.0
2.14k stars 1.41k forks source link

BG - Chaining animations causes them to not fully play back #6432

Open j-conrad opened 10 months ago

j-conrad commented 10 months ago

Description When attempting to play multiple animations on an object via behavior graph, all but the first animation appear to play all the way through. This occurs regardless of animation speed or duration. Note: The console debug incorrectly shows that the animations finished playing.

To Reproduce Steps to reproduce the behavior:

  1. Open the included .blend file
  2. Note the 3 cones: Left/Center/Right. Left has the 'flip' animation, right has the 'upright' animation, center has 'flip', followed by 'upright'.
  3. Run in Hubs
  4. Clicking the left or right cones shows the 'flip' and 'upright' animations, respectively. But clicking the center cone shows 'flip' play fully, followed by the 1 second delay, but then 'upright' only plays halfway.

Expected behavior The center cone should play 'flip', delay 1 second, then play 'upright' all the way to completion.

Screenshots Video capture

Unchained animation graph (on leftmost cone): image

Problematic situation with the chained graph (center cone): image

Hardware

[Uploading AnimationChaining.zip…]()