MV Qmovement_smart move_QM+CollisionMap.Character jittery movement

When my character collides with a slanted collisionmap due to ssmart move, it often causes the character sprite to shake and switch rapidly. I suspect that this is a problem with the collision detection (or perhaps the camera?).


So, I made some modifications in the qmovement plugin:
Crtl+f,find:smartMoveDir8

if (!pass) return;
var radian = QPlus.adjustRadian(Math.atan2(y2 - y1, x2 - x1)); this._forwardRadian = radian; (delete this row)
this._px = x2; this._py = y2;
this._realPX = x1; this._realPY = y1;
this._adjustFrameSpeed = false;
this.setRadian(radian); (delete this row)
this.increaseSteps();


In this way, the character sprite no longer switches when colliding with tilted collision tiles, but smart movement still works .
However, the second issue remains, which is the shaking of characters on the screen. I haven't been able to find a solution for this.

I encountered a similar problem when experimenting with screen zoom events, and I was able to solve it by adjusting the camera.
I'm not sure if this issue is also related to the camera.
Does anyone know how to resolve it? and here are some similar cases for reference.
New information, it is indeed related to the camera. I modified the offset parameter in qcamera, When I set a value above 0, the character shakes. When I set it to 0, on the contrary, the map shakes.:rswt2:
And when I set the "off grid" parameter to false in QMovement, and since my grid is set to 1, the movement becomes very slow. However, both the camera and the character no longer jitter or shake.
。。。。。。😅
There's a new development (although it may not be considered progress).
I commented out the entire code block:

// if (!pass) return;
// var radian = QPlus.adjustRadian(Math.atan2(y2 - y1, x2 - x1));
// this._forwardRadian = radian;
// this._px = x2;
// this._py = y2;
// this._realPX = x1;
// this._realPY = y1;
// this._adjustFrameSpeed = false;
// this.setRadian(radian);
// this.increaseSteps();

By doing this, although the automatic movement will stop, it's still better than setting the "smart move" option to 0 (disabled).

When "smart move" is set to 0, there is a high chance of getting stuck when encountering walls, even if you try to move diagonally up or down.
I believe this is due to the shape of the collider.

However, with the aforementioned script modifications, when you encounter a wall and get stuck, instead of automatically pathfinding, it adjusts the coordinates of the character's collision body, without affecting the visual appearance of the walking sprite.

This way, when you try to move diagonally, you will generally not get stuck.
You can compare the state of the character's collision body before and after the modifications by keeping the F10 key open.

This is currently the only compromise I've found. Although it may affect the smoothness of the game to some extent, I believe it's still more reasonable than having jittery visuals and characters moving back and forth.
I don't use QMovement but I get similar issues with Altimit Pixel Movement with events getting stuck on walls

Original thread: https://forums.rpgmakerweb.com/threads/qmovement_smart-move_qm-collisionmap-character-jittery-movement.158869/