Skip to content

There is a bug in the Move Method #2

@Kaorixsol

Description

@Kaorixsol

In the SpatialHash script, in the Move (T item) function, the second foreach function should traverse _helpMoveHashMapNew instead of _helpMoveHashMapOld, which will cause the item to be not re-added to _buckets when it is displaced.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions