in my scene the player should get damage if he hits spikes. But by now the player gets the damage so often directly next to each other that he dies in millisecond.
So i want to create a timer that starts every time he hits the spikes and create damage if he still is colliding after a few seconds. And so on.
Sorry if there is misspelling in my text. My english sucks...
Thank you for every answer.