I have a 2d path inserted as a sprite in unity and i have a 2d object that moves in a spiral behavior inside this path.
What would be the best practice to make the camera follow the object moving without it’s spiral behavior ?
As a best practice , should i make the camera follow the 2d object or the path ?
I thought of using points as empty game objects along the path and writing a script attached to the camera that takes the transform of these points and moves along them.
But I’m not sure whether this was the best practice to achieve such thing ,or is there a better solution.
