I’m working on a targeting system for my game in Unity.
So I’m trying to basically draw an outline of the object that is selected. Never did something like that in Unity so any pointers would be appreciated.
I’m working on a targeting system for my game in Unity.
So I’m trying to basically draw an outline of the object that is selected. Never did something like that in Unity so any pointers would be appreciated.
Here’s one option (depends on the model and impact on budgets):
This is interesting, but wouldn’t be a bit too heavy for a browser application to duplicate and delete objects every time the player selects/deselects them?
Yes possibly. I have not actually tried it but it would depend on the complexity of your geometry. I guess one extension of this would be to have a low poly version as an “outline” object that you can switch on and off.
Maybe someone has another idea that is better suited to complex models, since this technique would outline details within the boundary such as arms etc. Maybe a shader would be best but I’m not good with shaders yet ![]()
Yeah I never worked with shaders before so my experience is around zero…