Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to get the nearest non empty terrain cell from a given point in Roblox?

Asked by
nc2r 117
4 years ago
Edited 4 years ago

My question is rather simple, though for days I have tried to figure it out. All I want is a function that will return a Vector3 Value, and I input a vector3 value, and the output is the location of the nearest non-empty terrain voxel from the input.

0
What do you mean by "cell"? User#30567 0 — 4y
0
@TTChaos terrain is stored in the for of "cells" kind of like blocks in minecraft, but then the graphics engine somehow smooths them out to not look blocky, but really that is how it works nc2r 117 — 4y
0
@TTChaos terrain is stored in the for of "cells" kind of like blocks in minecraft, but then the graphics engine somehow smooths them out to not look blocky, but really that is how it works nc2r 117 — 4y

Answer this question