Add origin points to light objects

Hello, I would like to know if there is the possibility of adding origin points to light objects, since I am making an isometric game and practically all my sprite objects have Ysort behavior and I use origin points a lot. Thank you :slight_smile:

Aside from your request
You can open Ysort behavior and change what point it uses
To center X Y
Or even just to X Y

BUT
I think best of two worlds would be to ask for someone to add PER OBJECT selection what point we want to use in Ysort behavior

That would make a lot more sense for me

I’m not sure I understood correctly what you mentioned. Ysort works fine as do origin points, no need to modify them. The problem I’m having is that I can’t edit origin points on light objects.

Maybe i was not specific enough
Also what i suggest to you would work per case and not as overall fix

For example you cannot edit origin point of light object
BUT you could edit offset from where Ysort works

For example imagine ALL your light objects would need to work on its origin point X - 20
You then would need to offset each origin point for none light object and you would get what you want

BUT at the same time
Offsetting each none light object origin point would be painful
And that would work if all of your light objects would be the same

So at least it is SOME sort of workaround
And far from perfect solution

The light is displayed on the Lighting layer, not the layer that the objects are on. So Y-sort won’t have an impact on it. And moving the light object to another layer will cause it to not work.

So in short, light objects can’t be layered using the Y-sort behaviour.

What I really need it for is the powers that my character launches, he launches an energy sphere towards the enemy. The power is a sprite object with animations and is followed by a light object. If the power passes behind the enemy, the light object should pass behind the enemy like the sprite object does.

Editing the behavior of Ysort would modify the position of all objects in my entire game, before doing something like that I prefer to explore other options.

I just replaced the light object with another sprite object and it seems to simulate light quite well, but I still think adding origin points to a light object would be useful for isometric games.
Thanks for the suggestion :slight_smile:

I understand, I had not seen it from that point of view, now I understand why they have not made it possible to edit the point of origin of the light objects, thank you.

Well, anyway, maybe someone will find a way to make it possible, I tried to simulate a light object with a sprite but it’s not the same, I thought it would look good but no.