Maverick1912: It would be a good tip...
If HERO is ON COLLISION with 1PX-BRICK:
--- HERO.Positiox.X-1
(or on any other element collision/tip of gun). The animation is nice and smooth, no glitches.
Unfortunately, this will not work, until there is no pixel-bricks on the floor at all.
And I need a character to be able to walk on some lefted over 1pxBricks.
And also, in my case, the hand with a gun is a seperate spirite, that rotates, so this solution will not work corectly:
imgur.com/a/HXFQxQd
(don't mind shooting through the wall, it's just an early stage of this project, it needs to be fixed obviously)
-----------------------------------------------
PROBLEM SOLVED.
The collision polygon was not exact quare. It was skewed 1 pixel. I don't remember, which angled side coused that behaviour, but the lesson is that: always make sure your collision polygon is a perfect rectangle or square.