Hey,
My goal here is, when a ball reaches a trigger zone, the parent of the TriggerChecker game object’s size would increase.
private void IncreaseSize()
{
GetComponentInParent<Transform>().transform.localScale += new Vector3(0, 2f, 0);
}
The current behavior is that the child object, the trigger zone jumps into the center of the gamefield and increase it’s size + height.
What should I do different?