Hello, so I put together a script that would destroy the object that has the script if it hits the player. However, the object does not break. The script is
It sounds to me like you are wanting to see when the gameobject hits the player, not when the player hits the game object. though you’re using the player as collider.
I’ve seen problems where when the player is not moving things won’t trigger properly against its inanimate colliders… ie: if I move the player a little bit then his colliders will update and the trigger would finally happen.
I’m not an expert on collision, but like tanoshimi says, add some debugs to see when it’s happening and what it’s happening on. very common problem.