I’m making a strategy game and im trying to make a feature that highlights all troops within the view and outside the view of the player. I wanted to recreate the effect like the one shown in the video.
How would I do that?
I’m making a strategy game and im trying to make a feature that highlights all troops within the view and outside the view of the player. I wanted to recreate the effect like the one shown in the video.
You could use the players humanoid root part’s lookvector maybe.
Im unsure of how exactly to do this, but what i would do is maybe have a screen UI follow the players HRP Position in some way. (???)
But an easier alternative is to put a highlight instance inside nearby soldiers characte rmodels, so you can see them behind any obstructing surface. It has a cooler and simpler effect.
If you want only specific people to see the highlights, i would do this on their client.