Tidy Tile Mapper‎ > ‎Runtime API‎ > ‎BlockUtilities‎ > ‎

GetMathematicalCoordinates

Returns mathematically-derived coordinates given the world position provided.

As with GetMathematicalPosition, this will not function as expected on a BlockMap whose Blocks have had their positions individually manipulated.

Definition:

Vector3 GetMathematicalCoordinates(BlockMap map, Vector3 globalPosition)

Return value Description
Vector3 The coordinates in the map corresponding to this world position.

Argument DataType Description
map BlockMap The BlockMap from which you wish to derive a mathematical Block coordinate.
globalPosition  Vector3 The global position at which we wish to find the corresponding Block coordinates.

Comments