Hi all, I have an image with 4 colliders wrapping it and a camera (with script, istrigger = true) in the center, when I move the image there at some point it hit the camera with colliders and want to do an action but does not recognize the collision and do not understand.
the script:
void OnCollisionEnter(Collision _object){
print ("there is collision");
}
thanks for your assistance

i edit my answer
– prototype7I believe something is bad, not work this way 1. my camera has, box collider, script(collision with camera), isTrigger = true, and rigidBody (IsKinematic = true) 2. the colliders has box collider and RigidBody what is the problem...
– eliascanazavoid OnTriggerEnter(Collider _object){ print (_object.name+" -------> test"); } i test with this and it's working very good... thanksss
– eliascanazaA little correction to this: OnCollision events are generated when a rigidbody hits another rigidbody with collider It should read OnCollision events are generated when a collider hits another collider and at least one of them has a rigidbody.
– fafaseAfter spending longer time on searching. Found your answer helps me a lot. :)
– samra2494