Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
How to use editorImportAnimated3DMesh or editorImportAnimated3DMesh?

any guy
Guest
Quote
2023-09-24 17:10:48

How to use editorImportAnimated3DMesh or editorImportAnimated3DMesh?


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:


Posted by: (you are not logged in)


Enter the missing letter in: "Intern?tional" (you are not logged in)


Text:

 

  

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


   






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