Multi colliders problem

I have a castle and a character.

on the root character gameobject, i put a rigidbody and a box collider, and i give it “Player” tag,
then i created a transparent plane as a child with a circle texture on it to indicate attack radius, with rigidbody and sphere collider. this sphere collider is far bigger than the box collider.

on the castle, i put the same behaviour as the plane, it looks for a collider named player and then i want to do something with it.

however this is not working, whats wrong here ?

let me check if understand correct.

  • You have castle
  • You have a main character gameobject which contains the root character object which contains your box collider and a plane gameobject with transparent shader with circle texture which reveals your radius for attack,use etc…
  • Your plane gameobject has a sphere collider which checks if a actionable object collides

If this is the case then you should add a rigidbody to Gameobject that contains the script which checks if there is a collision.Adding a rigidbody only process the physical components of the gameobject which you added.Having a rigidbody on your root character’s gameobject wont initiate with other gameobjects of your Main Player GameObject.