Hi,
I've been trying to make this collision thing happen for like an hour, and it must be something stupid I just don't see.
I have prefabs being instanciated at the top of the screen, and they fall down. They have a 2d collider and a rigidbody.
The player character is trying to catch those items with his mouth. The mouth has a collider that is a trigger. I put a 2d thing proxy on the mouth and the FSM has a listener for "TRIGGER ENTER 2D".
When the trigger happens, I want to destroy the prefab that collided with the trigger.
I tried Collision 2d Info and collision 2d event to no avail. I want to store the game object that collided with the trigger in a variable to then destroy it. I placed a breakpoint, and when the collision happens, it says the variable is none.
What am I missing?
Thanks.