Search the Community
Showing results for tags 'import skeleton'.
-
Hi everyone, I need your help a new time... I updated my BabylonJs version from 2.2 to 3.1.1 and I have a problem with an import skeleton : here the code (from the doc) calls which is very simple : function importSquelette(nomSkelAtelier, chemVersFichierSkelAtelier, nomFichierSkelAtelier, laScene) { BABYLON.SceneLoader.ImportMesh(nomSkelAtelier, chemVersFichierSkelAtelier, nomFichierSkelAtelier, laScene, function (newMeshesSkel, particleSystems, skeletons) { var dude = newMeshesSkel[0]; //dude.rotation.y = Math.PI; dude.position = new BABYLON.Vector3(0, 0, 10); } ); } parameters values : - nomSkelAtelier = 'Armature_Striker_AZ_9' - chemVersFichierSkelAtelier = '../Scripts/Bll_IFC/Mesh/MeshSkelette/' - nomFichierSkelAtelier = 'Striker_AZ_9.babylon' - lascene = the scene loaded before I specify that : - the scene.babylon file and the skeleton.babylon file aren't in the same folder. - the exporter for Blender was the version 5.5 - the version of Blender is 2.79 And here the consol log when i click to the button which call the import skeleton function: How can I fix it ? I try to finish a game fight robot and import skeleton is the main part of the game .... Thanks !
- 10 replies