I have a player moving through a field of static “mines”. Is it better to have the OnTriggerEnter routine on the player or on each mine? Does it matter?
Nope. Do it however way you prefer.
Personally, I find it makes more sense to have this one specific object trying to detect many other objects, rather than these many other objects trying to detect this one specific object.
2 Likes
In the case that only the player can possibly activate them i’d stick all the logic on him.
1 Like
Thanks a lot. Yes only the player will trigger them, along with many other types of items in the field.