multiple physicsSprite for one body
Posted: Thu Aug 13, 2015 5:39 am
Hi All,
I get some questions about chipmunk, hope you guys can help me out.
I have a cp.body here, which include 5 cp.polyShape(1,2,3,4,5, like attachement). Here is the problem, is there any ways I can attache 5 physicsSprite for the body, the shape of the physicsSprite is just like the polyShape, so they can move like one object?
If I can't achieve it by attache multiple physicsSprite, are there any other ways?
Thanks a lot!
I get some questions about chipmunk, hope you guys can help me out.
I have a cp.body here, which include 5 cp.polyShape(1,2,3,4,5, like attachement). Here is the problem, is there any ways I can attache 5 physicsSprite for the body, the shape of the physicsSprite is just like the polyShape, so they can move like one object?
If I can't achieve it by attache multiple physicsSprite, are there any other ways?
Thanks a lot!