Paper2d; Flying Enemy; Add Movement Input

Hey guys, I feel as though I have a simple question and I am having a hard time implementing it.

I just want my enemy character to move faster while flying. Right now no matter what flight settings I enter, the enemy always has a set pace. Is it because the add movement input just moves the enemy 1 pixel per tick?

Thank in advance for your time!

Anyone?

Hi bossdaddy,

Can you show me a screenshot of your current setup?

Some settings are at incredibly low or high settings since I was just trying to get different behavior.

Try increasing the acceleration of the character when in flying mode. To do this, create a float variable called “walking acceleration” and another called “flying acceleration”. Set the walking acceleration to your original acceleration value when the enemy is on the ground. Then, at the movement input, set a “switch on EMovementMode” node, and out of each applicable pin, create a set acceleration node (create get charactermovement>set acceleration) and set the acceleration to the variable that coincides with which movement mode it is in. See if that causes the movement to change correctly.