I am writing a turret defense game. To spawn turrets, I click on a turret icon, which also just happens to be a stationary copy of the turret.
Everything aside, the problem is with the Create Object function.
When I click on my Turret Icon, I create a turret at Mouse coordinates and it is attached to my mouse. Problem is, the origional turret Object also flies to the mouse coordinate!!! No where in my code do I tell the original object to go to my mouse coordinate. The origional turret object/icon is just supposed to act as an icon to create an identical copy of it.
But this problem where the origional turret goes to my mouse ONLY occurs with the origional turret. None of the created copies of the turret have this problem.