I am building an Earth globe with prefab spheres that each spawn on their specific country. The coordinates are obtained from the latitude and longitude and then converted to the xyz system. When I rotate the Earth object the prefabs rotate with it, however if I spawn the prefabs again they spawn in the same place, as if the globe never rotated.
Is there a way to make the prefab spawning system respect only the coordinates of the earth object itself and not the project environment?