#Maximum distance of a hitbox?

1 messages · Page 1 of 1 (latest)

half trellis
#

how does one find the maximum distance that a hitbox can detect? Like if i had a hitbox with a 5,5,5 size, what would be the maximum magnitude of the hitbox.Position-Part.Position?

copper tulip
half trellis
copper tulip
mild token
#

and even if your hitbox were a sphere, you still can't use magnitude unless the other part touching it is also a sphere, which is usually not the case

half trellis
#

oh, so how would i do the sanity check?

mild token
#

spatial query

#

like findpartsinbox

mild token
#

visual demonstration of why that works