Keep pixel grid when rotating sprite?

Godot Version

v4.3.stable.arch_linux

Question

I’m working on an animation framework for my characters and I would like to do the following, but I’m not sure if it’s even possible.
When I rotate one of the components of my character, it behaves like all other rotated elements (see picture below).
image
What I want to do is rotating the texture, while also keeping the pixel grid untouched. The effect I want to achieve is something like rotating the texture in an image editor, like below.
image
I’ll be thankful for any guidance

In the project settings have you set your window stretch mode to viewport and scaling to integer?

That’s exactly the effect I want to achieve (picture below)
image
This creates a problem though, because it requires to scale the whole game window. Is there a way to do that, that only affects this particular scene? I was reading into subviewports, but I haven’t yet wrapped my head around it

1 Like