Here is a less spaghetti code: on Interaction script fire this function: bool isOpen; void DoorRotate() { Animator anim = this.GetComponentInParent(); anim.SetBool("IsOpen", isOpen); isOpen = !isOpen; } and in the animator set the bool variable's name to IsOpen{open} condition = IsOpen(true)--disable exit time->close [between open and close] ->{close} condition = enable has exit time [between close and idle] bool in interaction scrip if false by default and in the animator is true by default
You'll need to use separate animations for every door (just repeat what you did with the first door) as the doors you have now are using the same animator controller
@@magplay15 You can use the same script! Just need a different animator controller for each door (im pretty sure, its been a long time since i had this video)