Is it possible to change 2-3 times f->SetSensor() ?
- by Asen
Hello there !
i use cocos2d-iphone-0.99.2 and integrated in it box2d. i have 2 kind of sprites with tags 1 and 2.
Also i created bodies and shape definitions for them.
what i'm trying to do is to make sprite1 kinds to act as solid or act as not solid when sprite2 colides with them.
i tried this code :
for(b2Body *b = _world->GetBodyList();…