Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

转圈搜索使用A+视角重置替换WASD #115

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

NBOOK
Copy link
Contributor

@NBOOK NBOOK commented Sep 16, 2024

鸣潮的A和D并不是径直左右走,而是边走边以每秒10°向左/右偏。按此方法WASD循环会导致轨迹逐渐右偏,搜索范围分布不均。这个PR改用A+鼠标中键重置视角,保证转向均为90°且每段轨迹为直线。

图:WASD的搜索轨迹
image

鸣潮的A和D并不是径直左右走,而是边走边以每秒10°向左/右偏。按此方法WASD循环会导致轨迹逐渐右偏,搜索范围分布不均。这个PR改用A+鼠标中键重置视角,保证转向均为90°且每段轨迹为直线。
@ok-oldking
Copy link
Owner

靠谱吗? sleep 这个可能不是很精确

@NBOOK
Copy link
Contributor Author

NBOOK commented Sep 20, 2024

靠谱吗? sleep 这个可能不是很精确

不太确定你说的sleep可能不精确是什么意思。。。是觉得冗余不够吗?代码在我的高配PC和破烂挂机笔记本上都能稳定执行

@ok-oldking ok-oldking merged commit bf7cdf7 into ok-oldking:master Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants