I have an object (cube-trigger collider) which is basically a camera for npc. Sometimes it has random movements and has to detect new objects that enter it’s bounds.
OnTriggerEnter does not work in this case, probably because it is entering other objects which are 100% static (trigger is entering another collider). I tried adding rigidbody to random object and make it “roll into” our trigger just to check if I’m doing it right and it worked fine.
So I need either a way to check if any gameobject is inside my collider (return which one is detected) or an alternative to ontriggerenter, which would be preferable.