I have a game where a player collects coins. Each time a coin is collected, particles spawn and I want those particles to move towards the energy meter in the top right. The only problem I have is that the energy meter is on the "UI" layer so it does not move with the camera that follows the player on the "Game" layer.
I have tried moving the particles to the 'UI" layer, but then they never spawn at the proper location since the player is moving. I tried using custom movement and bullet behaviors, but I cannot get an accurate movement path since the coins are not always collected from the same position. Any advice?