Hello.
First of all excuse me for most of my questions but I'm a total beginner.
I'm trying to make a lever to open doors but I'm running into some issues trying to figure out how to pull off the animtion because I was thinkin about On animation finished and On Key pressed, and can't use both for the same event.
I want the following: When player overlaps lever and presses action key, activates lever.
Basically I have two animations. The default and the Go or Swap animation. The default is on one position, whenever player presses "Action Key" set animation to Swap and the lever goes to the other position.
Now, if I press "Action Key" again, it feels like you switch the lever twice because if goes to the original spot and does the animation again. I want to be able to go back and fourth so when I press Action Key again the animation plays backwards.
Any tips? I was thinking just to create two animations but feels like I run ito the same problems with the triggering since I need both Key Pressed and On Finished. Right?