Player Collides with object then play animation

Hi I need help?

I would like a the player when it Collides with an object then it plays an animation but I want the script to be able to be used multiple times for different animations…

Thanks

Also Javascript would be better but what ever is easier for the helper :slight_smile:

use OnCollisionEnter(collision : Collision),
without the trigger