Hiya,
Is it posible to detect colliion or trigger between two gameobjects which donot have rigidbody but have colliders with them.
I have a gameobject which moves, and I wish to detect collision when it intercepts another collider which does not have a rigidbody.
Funtions I use :
OnCollisionEnter()
OnTriggerEnter()
Game Scenario:
I did try to implement the above. The translating object has a collider and the target also has a collider. One is a capsule and the other is a box. Now I am trying to detect collision detection on translating object using OnCollisionEnter(Collision hit). I find absolutely no response.
I also found this 1 where they have tabulated a lot of stuff in regard to it. Is there a way to deal with it.
Constraints:
I do not want the target objects to have rigidbody. I also do not want the translating object to have a rigidbody, but I could make a consideration on the translating object if I have no option. But I also do not want the two objects to collide with physics involved. It is just a matter of recognizing whether the target is within the translating object.
The code sample which is on the translating object could be found here.
Thank you