A function that returns the cost for a given move between grid spaces in 3D. In square and hexagonal grids the grid spaces are always adjacent unless teleported. The function is never called with the same offsets.
The offset that is moved from
The offset that is moved to
The distance between the grid spaces
The properties of the segment
A function that returns the cost for a given move between grid spaces in 3D. In square and hexagonal grids the grid spaces are always adjacent unless teleported. The function is never called with the same offsets.