Interactable animations

Willedmeades

New member
Hi,

Just wanted to ask a little more regarding the interactable system. If i wanted to have a switch that opened a door I could use the AnimatedInteractable script. But what if i wanted to add a timer that closed the door after a 5 seconds or when the player hits a trigger. More so could interactions play timelines etc.

I have had a look at the API and wanted to know is it just a case of me creating new scripts from scratch or is there a different method which would work better?

Thanks.
 
The AnimatedInteractable script doesn't have that functionality so I do recommend creating a new script. IInteractableTarget interface is pretty minimal so it should be pretty easy.
 
Top