I don’t exactly understand how exactly this function works. I am trying to check a specific space for parts and if there are none, then have an object placed in that area.
1 Like
Assuming you mean GetPartBoundsInBox
, it is a function that returns all the parts of a volume: needs a center point (CFrame
) and the volume (Vector3
), if you cannot visualize it you can create a part and use its properties:
local Part = --> your part
local Parts = workspace:GetPartBoundsInBox(Part.CFrame, Part.Size)
If you have a problem with your code, it would be helpful if you could show it.
1 Like
Oh, I get it now. I always have to get CFrame as a first argument and not just positional vector… Well that is unfortunate.
I had no idea bout this! This is going to be so useful in my new game! Thank you!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.