I am making a pseudo tower defence game.
I have this tower, I want it to attack any enemy NPC if it’s within range.
I know I would use Cframes to rotate the turret to the face the NPC.
Raycasting is no problem.
Though I still do not know how I would make a range.
In this case, it’s a bit complicated, I’m trying to use Egomouses placement system and I also want the cone-shaped range to be displayed for the player to see when it is in placement mode.
Should I use an invisible cone-shaped part or something in front of the turret? and it will only show and glow when it is being placed? That is one solution I am considering though I find it a bit impractical.
I’m not looking for someone to script for me, I just want advice on what I use in order to overcome this problem.