Box2D Forum Archive
Search Settings
Home › Box2D › General Discussion

how to prevent some specific bodies from contacting?

General Discussion
Z zhangxaochen
Sep 21, 2012 03:19
in the game like "indestructo tank", the aeroplanes don't contact the world left&right border, how can i make it in box2d?
i'm a newbie learning box2d, thx for any help~
P pTymN
Sep 21, 2012 07:22
Look at these classes: b2ContactFilter b2ContactListener
Z zhangxaochen
Sep 21, 2012 10:28
ok i'll try

Original thread: https://box2d.org/forum/viewtopic.php?t=8837

This is an unofficial, read-only archive preserved for the community. Original site: https://box2d.org

Want your posts removed? See removal requests or email [email protected]. · Preserved with Forum Ark · Privacy · About