How to resolve the conflict of animations when two keys are pressed at the same time. for example, shooting while running or jumping, shooting arrows. how can I do it
well you just add another animation for shooting and running at the same time
There are a few options:
- Make it so you can’t do both (add a condition to your shooting controls “PlayerObjectName is Jumping” and then invert it)
- Add a separate animation as ginman mentioned, then set up sub events.
Attack Control Condition Here (when J is pressed, or whatevr)
--PlayerObjectName is Jumping (Inverted) || Set PlayerObjectName Animation to Shooting
--PlayerObjectName is Jumping || Set PlayerObjectName Animation to ShootWhileJumping
etc
thank you very much it worked
1 Like