• Editor
  • Box2d ObjC Cocos2d Example?

So Nate provided a nice link to a Java implementation of Box2d with Spine, but im having a bit of trouble understanding it since I dont know Java at all... I can probably figure it out but I was wondering if anyone had a generic example in ObjC using Box2d?

Thanks!
-Adam

Related Discussions
...

You mean you wanna make ragdoll .

I don't have such an example, sorry.

It would be awesome if there was an example of just setting up the skeletonNode as a box2d body and then setting up the individual slots as attachments so you could do ragdoll.

Maybe its actually simpler than I thought now that I am thinking about it more. At least the first part is....

You probably wouldn't use CCSkeleton. You can use the spine-c Skeleton, as CCSkeleton does, but instead of drawing you would position box2d bodies using the skeleton bones.