NavGrid Get Cell At Transform Position
Converts a Transform position to a NavGrid cell.
| Parameter | Description |
|---|---|
| NavGrid | Grid used for conversion. |
| Transform | Transform whose position is converted. |
| Cell | Optional output full cell coordinate (x, y). |
| X | Optional output x index. |
| Y | Optional output y index. |
| In Bounds | Optional output true if the position maps inside grid bounds. |
Example
- Set Transform to an agent.
- Store Cell and In Bounds.
- Use Cell as a seed or path start value.