Nested Rigidbodies and Collision detection

Ok, so I’m trying to see why this isn’t working.

I have a player object, which has a rigidbody, it has a child object (player body) with another rigidbody, and a child below THAT that also has a rigidbody.

My problem is that a basic collision isn’t being detected using:

void OnTriggerEnter()
{
  Debug.Log("Trigger Hit");
}

void OnCollisionEnter()
{
  Debug.Log("Collider hit");
}

The script is on the root player object, and the collider I’m looking for is actually the immediate child object collision. What am I missing? Thanks!

The answer was to:

Put a script on the child object for OnCollisionEnter and OnTriggerEnter and have them call a method from the root player script so I can work from in there. :slight_smile: