Hi, I’ve returned to this course after some time away due to illness and am more than a little rusty, I hope this isn’t too stupid a question. I’ve set up my door as shown, my code is slightly but not functionally different. I’ve set up the open and closed animations which are not looped. I also took another suggestion here and set up a 1 frame “DoorCloseInit” animation. When I hit play regardless of what state is triggered the doors are constantly cycling the open followed by closed animations. The logic makes sense (I’ve checked the transitions while the game is running), but not the animations. I appear to have exactly the same settings as the lecture but I must be missing something (apparently not) obvious!
Ok so I wasn’t going crazy. I re-did the animations and I was still getting bizarre looping behaviour when looping was switched off. I deleted the Animator Controller and hooked it all up again with animations that were previously looping/cycling with all that switched off and now it just works like it should. I was going to delete this post but wil leave it here in case anyone else comes across this.
They were constantly looping between states even though Exit time was disabled? That’s very strange. Maybe they had both the same bool parameter? Maybe they were both triggering the transition on the same bool value instead of opposite.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.