Is there a built in ROBLOX method or event to detect if a point(Vector3) is NOT inside a part or instance?

Not a specific part: I have around 3000 parts in a game is there a way to detect if a vector is not inside any of these parts?

1 Like

You could create a small part, move it to that vector3 and then use :GetPartsInPart() to see if it’s touching anything.

1 Like

That is now what i asked. that wont help me understand if there is a way to detect if a vector 3 is inside a part

local inPart = #workspace:getPartBoundsInRadius(--[[vector3 here]], 0.001) > 0

if it is in a part is will return true, otherwise it will return false

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.