#Why do people prefer region3 over .touched events?

1 messages · Page 1 of 1 (latest)

gaunt galleon
#

ive read some forum posts but there were many mixed opinions and I'm confused. Some people say that .touched is not reliable and laggy but then others say its extremely lightweight and reliable.

In my opinion i believe in .touched because using a region 3 would mean you would have to check at intervals for each part and It would be laggy if you had a lot in your game. Please correct me if im wrong.

thanks.

gaunt galleon
gaunt galleon
tawdry sparrow
#

from my experience .touched just doesn't work sometimes when you have a lot of stuff in the place and compared to region3, raycasting/shapecasting, and spatial queries

#

also you have to keep touching whatever you set the .touched event to for the event to actually keep running

fiery lodge
fiery lodge
#

also region3 is not a spatial query or anything else on its own, its just a description of a box

#

so i'm assuming you mean workspace:findpartsinregion3 which is about as effective as any other spatial query