Prevent other animations from playing
I have a few combat animations and a dodge one as well. I want to prevent them from occurring until one animation finishes. Right now I can dodge and swing at the same time which looks clunky.
All animations have a different button press.
Reading a bit I think an exclusive gate could help or setting up some Not gates but I can't wrap my head around them. Any thoughts?
-
One way to do it is set a wireless transmitter that is active while the animation timeline is playing (you could probably use the same name for all the animations.)
It sounds like it's currently set up so that your buttons are wired straight into a timeline that plays the animation.
Instead you want to wire the buttons into an AND gate. Then wire your wireless receiver (that is receiving the transmission from earlier) to a NOT gate , which then goes to the second port of your AND gate.
Now, any time your animation is playing, the wireless signal should power down your NOT gate and will no longer allow other animations to play. -
Drop them into individual timeline gadgets and switch them on independent of each other by switching on their time lines instead of directly switching the keyframes
-
You can also use a keyframe that's active as long as the animation is playing to turn off the power on any other animations.
Please sign in to leave a comment.