Hey! I’m fairly new to Unity and C#. Trying my first project on my own after doing the tutorials on the site.
-
I’m using a huge trigger collider that moves around and I need it to constantly interact with game objects of a certain type that enter it. I’ll probably use a tag to pick out game objects that should trigger the collider, but I’m a little concerned that this will still be really taxing. Do I need to worry about that? For example, I don’t need it checking whether elements of the environment have the correct tag or not every update. Is there a way to have it just completely ignore most of the scene?
-
Is there another way to do this while freeing the game objects’ tags up for another use?
-
Would it be simpler/more efficient to have the other objects send something to the big trigger collider when they enter it instead of having the trigger constantly checking for them? Can you use trigger colliders that way?