0
\$\begingroup\$

Scheme

I want to create this type of fixture in one body. Here square and circle both are different fixtures but attach to one body. How do I do this?

\$\endgroup\$
1
\$\begingroup\$

I'm not sure how this is done specifically in Objective-C, but in normal C++ Box2D you just need to call the method createFixture("Fixture") on the body two times, one with the characteristics of the square, and another with the circle. See the manual in http://www.box2d.org/manual.html#_Toc258082972.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.