阅读背景:

如何设置它以便只有我的播放器和物体具有物理体?

来源:互联网 

Creating a game like Doodle Jump, except for bouncing off platforms, my hero bounces off objects to collect points and progress in the game. As my hero "bounces off" the object, I set it to removeFromParent and it is working like it should. However, if my hero misses the object and accidentally hits the wall or ground, the object disappears as well which is odd because my ground doesn't have a physics body.Creating a game like Doodle Jump, except for bo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: