• Box2D Fixtures & Spine Animations

Hi relu,

I noticed your solution post for updating fixtures from bones during animations. I'm trying to implement a similar solution (re-creating fixture shapes every frame to keep in position during animations), but it always breaks when applying forces. I could only get it to work when I control the skeleton directly rather than updating the skeleton from the physics body when a force is applied.

I posted more detail here: http://esotericsoftware.com/forum/Box2D-Controlled-Character-Movement-5219

Do let me know if you have any advice. If I can't get it working with fixtures, I'm going to have to do it the dirtier way, which is to use bodies instead of fixtures, then have a final body which represents the whole skeleton to which I can apply movement (force, linear velocity). Having one body with multiple fixtures seems like the better approach for this, but I'm pretty sure it's the update of the shapes vertices that's screwing it up.

Cheers,
Adrian

Related Discussions
...