I need to determine if around 200 parts are in a radius multiple times per second
which methods are the most optimised
-Distance.magitude
-Region3
-Workspace:GetPartsInPart
or any other methods
Region3 is deprecated
Workspace:GetPartsInPart and the likes are expensive
There’s also the touched event but its way too inaccurate
so raycasting or magnitude are probably the best options.
GetPartsInRadius and the like are not expensive at all, at higher quantities I would say it’s MUCH better than magnitude checks given the fact that GetPartsInRadius is internally implemented (therefore written in C++ which is WAY more efficient),
So a custom loop written in LuaU with magnitude checks will be slower than GetPartsInRadius at a higher amount