I use QMovement for pixel movement, colliders and diagonal movement.
Basically everything works fine with the movement itself, but when I run against a collider I have a problem.
When using a collision-map:
When I walk straight (up/down/left/right) against a diagonal border it "redirects" the movement to the next possible movement:
This is what it looks like in close up. The redirection itself is fine, basically the character moves diagonally alongside the collider. But the animation is permanently switching between the two directions. I even tried to smooth the border in the collision map, but the result is still the same.
When using a polygon collider:
When I use a polygon collider and walk straight against a diagonal wall, the movement and animation just stops completely.
Is there a proper way to fix this issue?
Basically everything works fine with the movement itself, but when I run against a collider I have a problem.
When using a collision-map:
When I walk straight (up/down/left/right) against a diagonal border it "redirects" the movement to the next possible movement:
This is what it looks like in close up. The redirection itself is fine, basically the character moves diagonally alongside the collider. But the animation is permanently switching between the two directions. I even tried to smooth the border in the collision map, but the result is still the same.
When using a polygon collider:
When I use a polygon collider and walk straight against a diagonal wall, the movement and animation just stops completely.
Is there a proper way to fix this issue?