How would I make “realistic range” in a TD game

  1. What do you want to achieve? Keep it simple and clear!
    I want to achieve “realistic range” in a TD game. as shown in this video: Tower Defense X Juggernaut Update… | ROBLOX - YouTube (its at the beginning of the video) it shows the range being cut out where theres obstruction and it also accounts for “field of view” instead of the cut being a straight line.
  2. What is the issue? Include screenshots / videos if possible!
    i cannot come up with any ideas on how to do it, nor the math to do it.
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    i’ve tried to do it, i couldnt come up with any ideas. i cannot find any solutions on the devforum besides making a circle with parts and using collision checking, which I dont want. i want to use the negation tool to cut the section.
    After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

if you could give me ideas i would be thankful.

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

saw a guy post this. I need help with it How would I make "realistic range" in a TD game

you could grab the towers position, then the enemy position, and use pythag to get the distance between them.

Yeah but i need to alter the range shape and stuff

Edit: I think I have found it out