Sprite component needs "origin" property (DEF-651)

Sprite component definitely needs a way to set a reference (anchor) point. This greatly simplifies flipbook animations where frames have different height. And, of course, many other things.

Is this something we have already considered adding @Andreas_Tadic and @sven?

There is an issue on this. It has a low number so it’s been around for a while… :slight_smile: DEF-651

2 Likes

I’m curious as how this would work as you are mentioning flipbook animations. Do you mean that you would lock a point in a 9-way grid (nw, n, ne,e,center… etc) or would you like an anchorpoint on each images in the flipbook atlas to adjust where the center is? Neither feels really doable imho.

I suppose the idea is to have the anchor point in the component and not in the separate images, but this needs some design work.