It’s relatively cheap to instance a part to check for collisions this way just for a split second (you don’t have to wait a frame before you can call GetTouchingParts). Not sure how many times a service where you can specify a hitbox without a part actually being there would be used. Can you explain your use case with a more detailed example?
I wanted to do “theoretical” checks on the server without having to make a part. And I’ve heard it’s not cheap to make a part. But if it was cheap, I only want the server to make the part. But if I do, the client will also make the part.
EDIT: But you’re probably right. GetTouchingParts should do the job. It slipped my mind that they are able to do anchored checks.
Is it a grid based system? If it is, you can use 2d collision checks on the base of the object, unless your house editor is more advance than I’m imaging it rn.
Use cases for this typically involve frequent usage, so performance would be substantially better using an API built in C++ rather than a user module implemented in Lua.