Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Physics collision: how to deactivate/activate certain collisions

Author
Message
BraindeaD
16
Years of Service
User Offline
Joined: 30th Mar 2008
Location:
Posted: 20th Sep 2011 21:45
Hi all,
I'm trying activate/deactivate the physics collision between entities. I'm too confused with SetSpriteCollideBits(), SetSpriteCategoryBit() and SetSpriteGroup() in order to get that one sprite only collides with certain entities and ignore others... The doc, is in this case, is not enough for me...

Can anybody give me some light about it?
Thanks in advance

Regards
BraindeaD
16
Years of Service
User Offline
Joined: 30th Mar 2008
Location:
Posted: 21st Sep 2011 10:20
Hi all,
forget it, I found how to do it in the Box2D manual (filtering section).

Regards!

Login to post a reply

Server time is: 2024-11-25 04:12:48
Your offset time is: 2024-11-25 04:12:48