Is there a "Near" node?

So I need a function for a sentry gun I’m working on that when i get close to it it will start shooting at me, and i can shoot at it and it will take damage. Right now I’m using a collision sphere for when i get close to it, but when I shoot at it it is taking away its health when it enters the collision sphere rather than when it hits the mesh.

What do i need to do to make these functions separate?

use a multispheretrace with both the same start and end position - this will return all objects within the “radius”
pick the first actor from the array and fire away :slight_smile:

I think spherecollider is best way for this but , there is another way. For Your gun X= get actor location and y=get player character pawns location. And use this function to detect distance

64482-distance.png