Ok lets see if I can explain this…
I have a cube. When it enters and stays inside a particular trigger, I make the cube into a child of the trigger.
I use that relationship to move the cube into a new position. I click a button and the trigger is deactivated.
The button also detaches the cube-child relationship (using transform.DetachChildren). A new trigger is then activated.
Even though the cube is within the trigger it will not become a child of the new trigger as it did the first.
It appears that when you activate an object with a trigger attached, and the objects are already inside it does not register the collision. Is this true? Is there a better way to move an object from parent to parent?
Poor old Foster Cube…![]()