WorldToCellPreferEmpty (Method)

From Legacy Roblox Wiki
Revision as of 01:26, 8 October 2011 by >HotThoth (New page: <onlyinclude>{{Method |name = WorldToCellPreferEmpty |arguments = Vector3 '''position''' |returns = Vector3 |description = Returns ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
WorldToCellPreferEmpty( Vector3 position )
Returns Vector3
Description: Returns the grid cell location that contains the point position, preferring empty grid cells when position is on a grid edge.
Member of: Terrain



Usage

  • If the point is on the border of two grid cell locations, empty grid cells will be given strict preference to non-empty ones.