Is Point in Sphere?

Hi all, there’s an “Is Point in Box” node but I’m using a sphere and want to check if a point is spawned inside its radius.

When using the “Is Point in Box” node it encapsulates the sphere with a box and extends it’s boundaries.

TiA

A point in a sphere doesn’t make much sense, since unlike point in a box, this one is a simple operation.

1 Like

Just subtract the point from the center of the sphere. If the vector length is less than the radius, it is… :slight_smile:

4 Likes

Amazing, as per!

Thank you

1 Like