i need to create an array of child objects that have a specific tag however im not sure exactly how to do that, my current code is this
however using that has the script grab every object in the scene with that tag instead of the only the child objects to the parent calling the script
GameObject[] flagellanum1;
flagellanum1 = GameObject.FindGameObjectsWithTag("playerflagella1");
GameObject[] flagellanum2;
flagellanum2 = GameObject.FindGameObjectsWithTag("playerflagella2");
GameObject[] flagellanum3;
flagellanum3 = GameObject.FindGameObjectsWithTag("playerflagella3");
GameObject[] flagellanum4;
flagellanum4 = GameObject.FindGameObjectsWithTag("playerflagella4");
velocity = 2+flagellanum1.Length + (flagellanum2.Length*2) + (flagellanum3.Length*3) + (flagellanum4.Length*4);