I have an object thats animated to come up from the ground and is supposed to kill the player once they touch it. But when the player stands on it and it goes up through the player, the player doesnt get killed. The player only gets killed if they move while in it. I am using an OnTriggerEnter on the object to test if the player is in its box collider.
It seems the OnTriggerEnter2d only gets updated when the player moves. How do I fix this/find an alternative?
Thanks.