Hello,
Let's suppose that I have 3d models of multiple cars that are composed of multiple 3d objects.
Car model:{
- windows model
- roof model
- door model
- engine model...
}
The models are expressed like this:{
vertex:[...],
normals:[...]
colors:[...]...
}
I would like to use unity to generate a WebGL app where I can:
- Dynamically load a car model with all its parts
- Interact with the model with the models by "hiding/showing", "coloring", ...
I would like to load models dynamically and make the logic of interaction shared.
What is the optimal way to do this? should I load the model with c# script and call it from js or is it possible to send the geometry data directly to unity? if I have a script that loads a model in the format specified above.
I know that some frameworks like threejs or Babylon might be better for these requirements, however, I would like to know what unity provide in this situation because I might need to add physics and more advanced functionalities that require a physics engine later?
Thank you in advance.
↧