Kesshi Posted December 7, 2016 Share Posted December 7, 2016 I was playing around with inverse kinematics and tried to solve the problem with the physics engine of babylon js. Physics engines are not meant to solve inverse kinematics but with the correct setup you can get some good results for simple cases. Here is a playground for you: http://www.babylonjs-playground.com/#24XJYU#2 The trick is to give the start and the end of the chain a fixed position. I set them to mass = 0 for this. They will not get moved from the physics that way. If you now change the position of the end directly, the physics engine will calculate the postions of the middle bones for you. GameMonetize, iiceman and satguru 3 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.