Spacetime-Meta / spacetime-sdk

The spacetime-sdk is a turnkey virtual environment package for building in the Spacetime Metaverse
https://www.spacetimemeta.io/metaverse/spawn-planet
MIT License
11 stars 2 forks source link

Move avatar loading logic inside AvatarController #37

Closed Liquid-Blocks closed 2 years ago

Liquid-Blocks commented 2 years ago

In the PlayerLocal class, the call to instantiate a new AvatarController is deeply nested into a loader callback. as seen in the picture bellow.

Task: Move the loader and the loading logic inside the AvatarController. The constructor for the AvatarController should only require the animationURL, the avatarURL and the scene.

Image

Liquid-Blocks commented 2 years ago

Branch was merged, issue is closed