Wiki
Clone wikiRtsPlayMakerActions / Action / GetTilePosition
Get Tile Position
Gets position of a tile in local space (of tile system) or world space.
This action replicates functionality of TileSystem.LocalPositionFromTileIndex and TileSystem.WorldPositionFromTileIndex.
Input Variables
- Tile System Component : Rotorz.Tile.TileSystem
- Tile system.
- Row Index : int
- Zero-based index of tile row.
- Column Index : int
- Zero-based index of tile column.
- Space : Space
- Indicates whether to retrieve position in world or local space.
- Position From : PositionFrom
-
Indicates part of tile to retrieve position from.
- Center - Center point of tile (generally the most useful).
- Edge - Upper-left point of tile.
- Every Frame : bool
- Indicates if action should be repeated for every frame.
Output Variables
- Position : Vector3
- Position of tile.
Updated