How to apply 'x' amount of movement to pawn actor (using floatingPawnMovement component) from single button press

I’m trying to implement a camera behaviour that moves the player camera pawn towards where the player is facing. (My player pawn class uses a floating pawn movement component and a camera).

Heres what i tried:

When the mouse wheel is scrolled, input is added in the direction of the cameras forward vector. The issue I’m having is that it adds a single unit of movement per scroll and the add movement input function doesn’t seem to allow for adjustment of movement amount. Is there an easy way to achieve the described movement?

I just did a experiment.
It seems that the speed of floating pawn is controlled by the max speed.
not the input amount.
So I set it’s max speed on real-time,and there’s more parameters controlling the movement behavior.
but those are what I don’t recognize.


Is this acceptable?

1 Like

Thats perfect… many thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.