Rigidbody选择任意Collider检查碰撞

有些情况需要Rigidbody对一些Collider检查碰撞,对另一些Collider不检查碰撞。

可以把Collider放在不同的Layer。

通过Edit--Project Setting--Physics 选择两个Layer之间是否有相互碰撞关系来实现。

posted @ 2014-02-17 09:50  9413  阅读(160)  评论(0编辑  收藏  举报