First off, let me explain the lay out.
When I first created my game, I placed and made a player cube object.
I then created a prefab of this object and deleted the one in the scene (because it does not start off in the scene).
latter, as I was creating object AI, I tried to create a "Rally" command button, that when pressed, would send a rally event to all cubes of the same color.
The rally event is supposed to have all the cubes of the same color as the player cube move toward the player cube.
As I mentioned, I turned my player cube into a prefab after placing it in the scene, then deleting the one in the scene.
The rally command kind of worked, except that the cubes rallied around the original player cube's origin, not the player cube that spawned in (the prefab).
I opened the prefab player cube in inspector and checked its transform, which was indeed at the position the cubes kept going to.
I tried setting the transform to (0,0,0) but then the cubes would rally to (0,0,0) and not the prefab player cube that was spawned in.
My question is how to get the origin to set, and move with, the prefab player cube so that the other cubes will properly rally around the player cube.