Sign in to follow this  
NRA

How to link Bone in Skeleton

Recommended Posts

Hello,

In the following PG https://www.babylonjs-playground.com/#K9PZHG  I suppose than the sphere will move with the ground because it is a skeleton chaining its, but you can see than the ground go up and the sphere do not follow it. somebody knows why? I do the Skeleton and Bone creation and attaching well?

 

Thanks

Share this post


Link to post
Share on other sites

Hi @deltakosh

I want to link the sphere in ground for when the ground move the sphere move with it! 

If I create the weights and indices in the ground it works? How I do that?

Thanks

Share this post


Link to post
Share on other sites

@Deltakosh

In fact my final goal is to have some objects chained to move together and rotating in accordance with the parent object. Like the action we have in bones of an arm.

I suppose than bones is the easiest way to do it! 

Share this post


Link to post
Share on other sites

With:
mesh2.parent = mesh1;
mesh3.parent = mesh1;

You can link multiple child objects to a parent. Then when the parent moves or pivots, all the children do the same.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.