Open Dev Kit Documentation :: Game :: Get Grid Coord By Vector
Game.GetGridCoordByVector( Position 3D Vector, Grid Axis X 3D Vector, Grid Axis Y 3D Vector, Grid Axis Z 3D Vector ) Integer ArrayReturns the grid co-ordinates that corresponds to the particular location and grid
Parameters
- Position 3D Vector
- Position to convert to grid coordinates
- Grid Axis X 3D Vector
- x-axis offset between each object
- Grid Axis Y 3D Vector
- y-axis offset between each object
- Grid Axis Z 3D Vector
- z-axis offset between each object
Return Value
If you think anything is missing, please feel free to: submit documentation feedback on this page
