WorldToCell (Method)

From Legacy Roblox Wiki
Jump to navigationJump to search
WorldToCell( Vector3 position )
Returns Vector3
Description: Returns the grid cell location that contains the point position.
Member of: Terrain



Usage

  • If the point is on the border of two grid cells, only one of them will be returned.