Is there a way to either register for a child’s ontrigger event or set it up so a parent gets the OnTriggerEnter fired?
I have a parent Go that has a script attached which has a script with
void OnTriggerEnter(Collider other)
{
Debug.Log("test");
}
It has a child gameobject with a box collider with the Is Trigger checked.
The event is not fired.
If I had the script to the child it fires.
This is the basis for a much larger/complex setup that I would like to create but depends on this type of functionality. Do I have to have basic scripts on the children that call the parent to tell it about the event?
Looks like I found an answer
In the Forums for Compound Colliders
But for someone else that may come across this problem, I needed to add a RigidBody to the parent, (making it Kinematic) But then it seems that all child colliders pass their calls to it.