How to make two way platform box2d body?
问题 I have created platform using box2d. I want box2d body detect and not detect dynamically. Box2d shapes will do the followings Detect collision on some condition Not detect collision on some condition Both condition will work on different condition in same box2d object. Any idea would help a lot. Thanks in advance. 回答1: There are several ways to control what happens when a collision occurs in Box2d. The first thing to do is read this article and decide on what way you want to control it. That