Add Movement Input - Mousewheel

With the context you provided in mind, I think you mean you wanna control the speed of the character with mouse wheel. If that’s your objective, you can check out this post of mine :blush:

Hi, I don’t want to change the speed. I want to move TEST along the Z-axis (change height).
Every tick of the mouse wheel should move the character a certain distance. This distance currently too low and I can’t change it.

If you want to have an automatic movement feature for the player character, you can create a timeline, put the Add Movement Input node after it’s Update pin and call it with a custom event by connecting it to the Play from Start pin. You can also set the speed to your liking before triggering the timeline, right after the custom event. And to reset the speed once the auto movement is completed, you can simply set the max walk speed (that you drag out from the movement component) to your desired value.

I’ll look into that. But I can’t temporarily change the movement speed. What if TEST is changing height and moving in a direction simultaneously? Then both their speed would be increased.

You can subtract the actor’s location from the target location, normalize the result with the Normalize node, and plug it into the World Direction pin of the Add Movement Input node.

The input for “Add Movement Input” is not a problem. It’s just that you can’t change how far it should move per single input (single tick of the mouse wheel).

Thanks for the response!