Jump to content

Blender Armature


Recommended Posts

Hi, first of all, thank you for this great piece of code.


I try to build a simple animation : 1 armature, 1 bone, and 1 cube parented to the bone. This animation works perfectly in blender. Unfortunately, it doesn't works in my babylon application.


I used this code : 

        BABYLON.SceneLoader.Load("", "myproject/assets/testRot.babylon", engine, 		function (newScene) {            // Wait for textures and shaders to be ready            newScene.executeWhenReady(function () {                // Attach camera to canvas inputs                newScene.activeCamera.attachControl(canvas);		newScene.beginAnimation(newScene.skeletons[0],1,40,true,1.0);		//newScene.meshes[0].parent=newScene.skeletons[0].bones[0];                // Once the scene is loaded, just register a render loop to render it                engine.runRenderLoop(function() {                    newScene.render();                });            });        }, 		function (progress) {            // To do: give progress feedback to user        }

Is it possible to post a simple blender animation tutorial with export exemple.

I join my sample blender file.


Thank tou for your reply.



Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...