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

解决穿模问题 #582

Open
TCL606 opened this issue May 20, 2023 · 0 comments
Open

解决穿模问题 #582

TCL606 opened this issue May 20, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request innovative Innovative idea or algorithm

Comments

@TCL606
Copy link
Member

TCL606 commented May 20, 2023

Is your feature request related to a problem? Please describe.
当人物在翻窗时,为了避免可能的问题,现在允许穿模,但这可能导致更多的问题。

Describe the solution you'd like
可以用以下方法避免穿模:
当人物翻窗或出现可能穿模的情况时,将出现穿模的人物顺移:直接将该人物顺移到一个安全的地方,即短时间内不可能与任何人重叠的地方。

可以参考的做法如下:将地图分成若干格,当人物 A 将与人物 B 重叠时,暴力搜索到一个任何人物短时间内达不到、且离重叠人物 B 最近的格子,将 A 顺移到该格子处。

@TCL606 TCL606 added enhancement New feature or request innovative Innovative idea or algorithm labels May 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request innovative Innovative idea or algorithm
Projects
None yet
Development

No branches or pull requests

2 participants