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!