Bloons TD 6 range indicator

Hey guys, Iā€™m making a tower defense game and wanted to make a range indicator similar to Bloons TD 6 range indicator but I have no idea how I would achieve it.

Heres an example on how I want it to look like:
551409b3ff4b49f106e65bb38ba654e6f312f35e_2_283x249

If you know a way of doing that, please let me know. Thanks.

The simplest way would be to shoot a ray every direction until you find a model, but if wanted something a bit more practical, you could describe all the convex points of a model, and then scan through all the points to see which ones are furthest away left and right relative to the tower, I made a quick example:

Hope this helps! :grin:

2 Likes

How would I draw the red part tho?

1 Like