Hi All,
I have an enemy that has a character controller component that moves the enemy and an empty game object that has shpere collider and isTrigger in enabled. The empty game object is child of the enemy game object. So basically I have a game object that has 2 collider - tha “main” (in hierarchy sense) and a child sphere collider.
I attached a script to this enemy game object and override the OnTriggerEnter method. But it seems that nothing happens when other game objects enters this sphere…all other game objects are rigid bodies that have collider attached to them.
please help me I’m going crazy here…
Thank u in advance