Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
is there any way to dynamically add a 3d model to coppercube using javascript? |
||||
|
No. Load the meshes into the scene with the editor and scale them to 0 and then hide them some place. You can then access them with code and do whatever. Note: you can't turn on and off collision but if you scale them to zero it shouldn't matter. |
||||
|
Just_in_case mentioned in some post that he will include loading meshes in future version of cc with coding. |
||||
|
You can load mesh with js, all you need is know how mesh format work (*obj best format) and after write loader but one big problem is that collision for this mesh ain't work. |
||||
|
Is there any way to do this via c++ in the studio version? |
||||
|
Yes, you can with the studio edition. |
||||
|
wrote: Yes, you can with the studio edition. Could you give me an example? |
|