开发者

chipmunks: how to make to objects stick together after they hit each other

开发者 https://www.devze.com 2023-02-27 18:47 出处:网络
Hi I am using chipmunks on my cocos2d project.I have two objects and when they collide, I like them to join and m开发者_如何学编程ove together like one object?How can I do that?

Hi I am using chipmunks on my cocos2d project. I have two objects and when they collide, I like them to join and m开发者_如何学编程ove together like one object? How can I do that?

Thanks


Use a collision callback and add a joint between them.

0

精彩评论

暂无评论...
验证码 换一张
取 消