Hello, here’s the scenario:
Object A - empty game object with several children, one of which is just a mesh collider simulating field of vision. This child with the collider has a script attached to it containing OnTriggerEnter function.
Object B - a simple cube with a box collider.
Object A is moving forward towards the cube. When the collider on the child object of object A touches the box collider on Object B, no trigger fires. But when I manually move the Object B into the Object A collider, the trigger fires.
How to make it, so that the trigger fires when Object A moves in range of Object B and the colliders collide?
Some more details: the Object A collider is trigger, does not have a rigidbody. The Object B collider is trigger as well and the object itself has a rigidbody which is kinematic (though I’m not quite clear on the whole rigidbody mechanics).