Skip to content
Discussion options

You must be logged in to vote

The only thing that HAS to be in AFrame currently is any networked properties, and anything that needs properties deserialized from a GLTF file. For everything else we prefer to use ThreeJS as directly as possible (both for performance reasons as well as simplicity). The codebase has some things that strictly follow this rule, but also still has a bunch of AFrame code that we haven't bothered to try and port over to being more direct.

Its definitely still something we are figuring out as we go, but the kind of general model I use for new code is to define the data I need to be networked and the data that needs to come from a scene/avatar GLTF file first. Then make an AFrame component (or …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by netpro2k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants