Gio,
I'm trying to add a sprite to a 2D character in a top down shooter game.
The sprite woud be for example a health bar that should always be at the top left corner of the scene object (character).
However, when I rotate the scene object, then the health bar rotates with it.
Is there a way to disable the resetting of the offset position ?
I realize how wacky this request is because before I said, "when you rotate a scene object, the sprites attached to the scene object should rotate with it"
and you guys "fixed" this in a release of the engine.
I guess there are two cases:
If the attached sprite is say a slectable gun (so could be different sprites), in the players hand, you would want the gun to stay at the same relative offset based on the scene objects rotation.
If the attached sprite is say a health bar, you want it to stay a the same absolute offset regardless of the scene objects rotation.
I figure I can do this by using setSpriteOffset in the update routine of the scene object, but I was wondering if you had any thoughts on this.
thanks,
Shri