Detect if player is inside Area of Effect?

This thread is a bit old and while I feel I have a good handle on the hit calculations, I’m struggling to figure out the material side of things. Can the OP or anyone else share the material setup? I’d also be interested in a box/rectangle or line material as well.

Additionally, I’m interested in whether or not the Area of Effect indicator can have periodic “scan” lines and progress “fill” as seen here.

I have been struggling to achieve what OP has done for more than 2 years now. Would very much appreciate some help. Thanks in advance!

Search for a UI radial / circle progress bar material tutorials and look into how VectorToRadialValue node works. Apply it to a plane or apply it to a widget component that sits flat against the ground.

Scan lines are just concentric circles, something straightforward could do:

I’d also be interested in a box/rectangle or line material as well.

Not sure what this refers to.

Hi Everynone,

I managed to get a circle indicator working with filling from the center to indicate its current progress. As a side note, the circle material is capable of more angular shapes, like a cone for example, but currently struggling with a few issues:

  • The Fill shape should match the outer shape
  • The fill position is offset. Should behave more like a progress bar, from left to right inside in the outer shape.

The “box/rectangle” I’m referring to can be seen below directly in front of the character, which I just managed to get working as well:

The issue I’m currently working on is getting the box/rectangle to fill like a progress bar would from left to right. Currently it fills like the circle material from the center.