Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我在我的 cocos2d 项目中使用花栗鼠。我有两个物体,当它们碰撞时,我喜欢它们像一个物体一样连接在一起并一起移动?我怎样才能做到这一点?
谢谢
使用碰撞回调并在它们之间添加一个关节。