I facing problem with opening doors and play X animation.
The point is, I would like to play animation whenever player is near doors (I bet I need to use Box Trigger). Doors are physics based so right now opening works perfectly. Now I don’t know how to connect player animation with trigger on doors.
Maybe there is different way ? Like I can use some key to open door and when I will use that key, animation will play and door will open.
Thanks for help!