Jump to content

Using animation move mesh cause the first Bone Controller stop working


shen
 Share

Recommended Posts

Thanks for reporting this bug shen.  There seems to be a timing issue when using scene.registerBeforeRender and that type of animation.  

To fix this issue, DeltaKosh just added an onBeforeComputeObservable to the Skeleton class that you can use instead:

http://www.babylonjs-playground.com/#1B1PUZ#26

You might need to ctrl-f5 to update the playground with the new code.

 

Link to comment
Share on other sites

Thanks adam! 

I broke it again. 

http://www.babylonjs-playground.com/#1B1PUZ#31 When the bone and the target meets at the same position, the head is broken.

http://www.babylonjs-playground.com/#1B1PUZ#32 The head turned before the target move to the direction and the animation speed is not right. If line 42 was commented out, the animation speed is right, but Bone Controller is not working. 

Link to comment
Share on other sites

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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