I want to creating some sort of scripting system for the engine, or more specific support a glTF extension for adding sand boxed behaviors to a model. I'm thinking about it in the context of the parent project UNAVI, but it would be a generic system around glTF.
I see two options, WASM scripting, or a node-based behavior graph.
Web Scene Graph provides an example of what WASM scripting could look like
behave-graph is an example of what a node-based system could look like. Also can look at VRChat Udon
Am leaning towards a WASM approach but I'm still a bit unsure. Would appreciate input if anyone has ideas on this. Some pros and cons of how I see things:
WASM
If you know how to code, WASM could be faster and easier to work with, especially for larger, more complex scripts
Would allow for the creation of re-usable libraries (!)
Better performance?
Nodes
More accessible to non-coders
Could be worked on from within the 3D environment itself like Gmod, or in VR like Neos (!)
I want to creating some sort of scripting system for the engine, or more specific support a glTF extension for adding sand boxed behaviors to a model. I'm thinking about it in the context of the parent project UNAVI, but it would be a generic system around glTF.
I see two options, WASM scripting, or a node-based behavior graph.
Am leaning towards a WASM approach but I'm still a bit unsure. Would appreciate input if anyone has ideas on this. Some pros and cons of how I see things:
WASM
Nodes