I made a post like this yesterday about my gameobject not detecting collisions and I fixed it. Now I have that problem again and I really have no idea what’s wrong.
This is the script I’m using on the gameobject that will detect the collision:
void OnTriggerEnter2D(Collider2D other)
The gameobject attached with that script has been set to a trigger, plus both objects, the gameobject with the script and the player have rigidbodies and colliders but It still won’t detect the collision and I have no idea why. The colliders are big enough to detect the gameobjects.
Have I missed something out again?