ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator How to use editorImportAnimated3DMesh or editorImportAnimated3DMesh?
person icon
any guy
Guest
Quote
2023-09-24 17:10:48

How to use editorImportAnimated3DMesh or editorImportAnimated3DMesh?

person icon
just_in_case
Moderator
Quote
2023-09-25 04:37:20

Open the scripting window, by going in View > show scripting window

and paste this code in there
 var filename = 
editorGetFileNameFromDialog("please select a mesh file to import");

editorImportAnimated3DMesh(filename);


click the execute button and it will open the dialogue box to select the animated mesh.

You can also use the code in a Coppercube plugin and it will do the same thing.

It makes not much sense, if you are not dealing with batch importing or plugins, as CopperCube already has buttons for importing 3D models either animated or static.

Also this command only works in the editor and not in the final exe.


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 |