How to make consistent shadows

How can I make my shadows consistent? I want it to look like the light is coming from the same angle, no matter how the object is rotated. Below are pictures of what I would and wouldn’t like

the shadow is an object? you could use 2 objects (sprites) and bond together so both move in the same direction


The shadow should be a separate object, and then you can make every shadow’s position be something like MainObject.X()-50 and MainObject.Y()+50


@JakeZz @xisco thank you, i think thats the solution