ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Programming and Scripting
forum topic indicator load dynamic 3d object via javascript on coppercube
person icon
any guy
Guest
Quote
2023-07-02 02:10:46

is there any way to dynamically add a 3d model to coppercube using javascript?

person icon
Guest
Guest
Quote
2023-07-02 04:27:44

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.

person icon
Aiming_bullets
Guest
Quote
2023-07-02 09:33:52

Just_in_case mentioned in some post that he will include loading meshes in future version of cc with coding.

person icon
Sam Grady
Guest
Quote
2023-07-02 11:59:05

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.

person icon
Any guy
Guest
Quote
2023-07-03 03:52:25

Is there any way to do this via c++ in the studio version?

person icon
just_in_case
Moderator
Quote
2023-07-03 07:11:48

Yes, you can with the studio edition.

person icon
Any guy
Guest
Quote
2023-07-04 02:28:38

wrote:
Yes, you can with the studio edition.

Could you give me an example?


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |