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

Best way of detecting near objects?

Asked by 6 years ago
Edited 6 years ago

I would like to know if there are better ways to detect near objects, instead of doing .magnitude in every object of the game (because that's pretty inefficient). I have thought of creating an invisible part and every object that's colliding with it will be considered "near". But is there any other ways I can efficiently detect near objects?

Answer this question