DistanceCheckMethod Enumeration

public enum DistanceCheckMethod

Specifies the method to use to calculate distance between cells when using a Distance Pooling Chunk Manager.

Fields

Name Value Description
Chebyshev 0 The distance between each cell's coordinates (Row, Column, Layer) are calculated and the greatest of the three values is used as the distance. This is good for games where the Player can move from one cell to a neighboring diagonal cell very easily (i.e., in a short time span).
Manhattan 1 The distances between each cell's coordinates (Row, Column, Layer) are calculated and added together to compute the distance. This is good for games where the Player cannot easily move from one cell to a neighboring diagnoal cell easily (i.e., in a short time span). into the scene).