ios - Temporary disable physics from CCSprite -
I am currently searching for cocos 2D in combination with SpriteBuilder and I am bouncing stuff around.
It is quite fun:)
I am trying to find out the following:
- On the Spruthbugler, I make a CCSpract, and for this I enable physics.
- I can add it to XCode, and whatever I want with it, in addition to it, the phantom is reacting according to the applied physical science settings. great.
Now, what I would like to do, is to disable physics from this phantom in code. I'm not getting any way in the cocus 2D API which does the trick.
Can you help me? Thank you for your time and support;)
I write the correct answer then :
sprite.physicsBody.sensor = TRUE;
Comments
Post a Comment