The GUI health bar follows a game object in my game by passing messages of the game object position. This works, but there is a one frame delay between the game object moving and the health bar updating. This means that when the camera or character move quickly, the health bar is in the wrong place.
I’ve tried to use a module with a callback instead of a message, but because the callback is sent from the module I get a “Node used in the wrong scene” error.
Is there another way of achieving an instant update of the health bar position?