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

Placement system: detection of blocks in grid?

Asked by 6 years ago

I have a placement system that snaps to a grid, how would I go about adding a function that detects whether the area already has an object in it? I'm not asking for a full code but links, snippets of code and explanations would be useful.

1
would be helpful if you include code as well, or your question will be closed abnotaddable 920 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

Try using Region3 or the FindPartsInRegion3 function : http://wiki.roblox.com/index.php?title=API:Class/Workspace/FindPartsInRegion3

Ad

Answer this question