1.
Player ->CharacterController
Object -> Collider(isTrigger)
结果:在双方的OnTriggerEnter中都能检测到对方,双方无物理作用
2.
Player -> CharacterController
Object -> RigidBody(!isKinematic)+Collider(!isTrigger)
结果:在双方的OnCollisionEnter中都能检测到对方,双方有物理作用,Player可以引起Object移动
3.
Player -> CharacterController
Object -> RigidBody(isKinematic)+Collider(isTrigger)
结果:在双方的OnCollisionEnter中都能检测到对方,双方无物理作用
4.
Player -> RigidBody(!isKinematic)+Collider(!isTrigger)
Object -> Collider(!
Player ->CharacterController
Object -> Collider(isTrigger)
结果:在双方的OnTriggerEnter中都能检测到对方,双方无物理作用
2.
Player -> CharacterController
Object -> RigidBody(!isKinematic)+Collider(!isTrigger)
结果:在双方的OnCollisionEnter中都能检测到对方,双方有物理作用,Player可以引起Object移动
3.
Player -> CharacterController
Object -> RigidBody(isKinematic)+Collider(isTrigger)
结果:在双方的OnCollisionEnter中都能检测到对方,双方无物理作用
4.
Player -> RigidBody(!isKinematic)+Collider(!isTrigger)
Object -> Collider(!