Hi!
I’m trying to modify the movement speed of a pawn with this:
AddMovementInput(FRotationMatrix(control_rot).GetScaledAxis(EAxis::X), axis_value * m_free_movement_speed);
But it doesn’t work.
The pawn has a UPawnMovementComponent * m_movement_component; declared.
How can I change pawn’s movement speed?
Thanks.