feat:修改小车角度问题

This commit is contained in:
xudan 2025-09-01 19:24:22 +08:00
parent 7156ee6ddf
commit b0cf3a896d

View File

@ -114,7 +114,8 @@ const monitorScene = async () => {
} else {
const newX = x - 60;
const newY = y - 60;
const rotate = angle;
// angle
const rotate = angle == null ? undefined : -angle + 180;
return { id, x: newX, y: newY, rotate, visible: true };
}
});