标签: libgdx box2d collision-detection detection
我想检查box2D,如果我把身体放在那里,它会在另一个身体,如果没有,我不想在那里放置/移动身体。
我正在使用LIBGDX
答案 0 :(得分:1)
尝试Box2D光线投射:
http://www.iforce2d.net/b2dtut/raycasting
http://www.iforce2d.net/b2dtut/world-querying
/我应该把它作为评论,但我不能:/