Quantcast
Channel: Bugs Latest Topics
Viewing all articles
Browse latest Browse all 760

Bug import skeleton made with Blender in BabylonJS version 3.1.1

$
0
0

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 calls which is very basically :
 

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.

And here the consol log when i click to the button which call the import skeleton function:

BabylonJs.3.1.1.png.49716cd8d350b7889415789e35308c99.png

 

How can I fix it ? I try to finish a game fight robot and import skeleton is the main part of the game ....

Thanks !

 


Viewing all articles
Browse latest Browse all 760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>