multiple physicsSprite for one body

Discuss new features and future development.

multiple physicsSprite for one body

Postby Hank Hong » 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!
Attachments
QQ截图20150813183003.jpg
QQ截图20150813183003.jpg (37.36 KiB) Viewed 2161 times
Hank Hong
 
Posts: 1
Joined: Thu Aug 13, 2015 4:46 am

Return to Features/Development

Who is online

Users browsing this forum: No registered users and 2 guests

cron