What is the correct way to play an animation once due to a player collision. I have a collider on the player object and a wall, I can detect when both collide however I am not sure how to play an animation I made to sort of flash the screen red for 1 second.
I assume you’re using mechanim, and that you have some sort of screen overlay with an Idle state and a “flash red” state. In this scenario, transitions can be made by using triggers, one trigger to start the animation with no transition time and no exit time. Make sure the flash red state doesn’t loop and you should be good to go… I hope this helps
1 Like
I will run some tests and get back to you, thanks for the tips.