You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I tweak examples/Avatar/Avatar1.json to remove all the parts except Sword1 then the demo still works. If I then remove Sword1 as well, leaving "parts": [], the demo fails. By inserting breakpoints, I see that with Sword1 the meshLoaded signal fires and the animations are loaded before the avatarLoaded signal, but without Sword1 the meshLoaded signal fires and the animations are loaded after the avatarLoaded signal.
It could be that this is intended, but the docs do say
Once the Avatar component has finished loading the description, has instantiated the Mesh component(s) and their mesh assets have loaded, the character is ready to use for animation playback. At this point the Avatar component will emit a signal, avatarLoaded, to which application code can hook up.
so it seems to me that it's a bug.
The text was updated successfully, but these errors were encountered:
Proper implementation of EC_Avatar.js is coming. Also related parts for .xml/.avatar Assets and parsing them are coming too. This is a lot of code as it brings in avatar attachement and related changes to the skeleton asset business.
If I tweak
examples/Avatar/Avatar1.json
to remove all theparts
exceptSword1
then the demo still works. If I then removeSword1
as well, leaving"parts": []
, the demo fails. By inserting breakpoints, I see that withSword1
themeshLoaded
signal fires and the animations are loaded before theavatarLoaded
signal, but withoutSword1
themeshLoaded
signal fires and the animations are loaded after theavatarLoaded
signal.It could be that this is intended, but the docs do say
so it seems to me that it's a bug.
The text was updated successfully, but these errors were encountered: