Skip to content

解决穿模问题 #582

@TCL606

Description

@TCL606

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

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

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestinnovativeInnovative idea or algorithm

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions