Hi.
I want to stuck a moveable hat on my character. My character has an imagepoint "head" which is different for each animation frame.
I want my sprite hat always beeing on this imagepoint regardless the animation frame.
I tried the simplest way, as a each tick -> set hat position to character imagepoint
But it doesn't work as the hat is always 1 frame late and seems to "follow" the head instead of beeing pinned on it.
Actually I'm using this :
each tick ->
- hat Pin Unpin
- set hat position set hat position to character imagePoint
- hat Pin pin to character
It does the trick but seems ugly to me.
Is there a more proper way to achieve this ?