I have run into a problem that I have been thinking about for a couple hours now: I have a tower system that targets an enemy (player or minion) on the other team. To avoid the complexity of tracking each with magnitude, I have made a radius around the tower that triggers a touched event. It works beautifully, but there is a problem. I have the movement system setup where if a player clicks on a tower they stop moving towards it and they auto attack it. This system also works; however, together, they conflict with each other. If the player clicks on the invisible, non-collidable range of the tower, the player stops moving because it has technically clicked the enemy tower. Any thoughts are much appreciated!
You could move the radius part outside of Tower, but using a part isn’t really ideal for this.
Using .magnitude to track everything would be your best bet.