Download

PawnMovementComponent, how to Change speed

Hi,
I was doing the Components and Collision tutorial Components and Collision | Unreal Engine Documentation
I wanted to change the speed of the pawn actor by adding a speed multipl but its not changing in the game. is there something missing.


		OurMovementComponent->AddInputVector(GetActorForwardVector() * m_Speed * AxisValue);


Thank you.

Input vector is just a direction. Magnitude is ignored.

Set the WalkSpeed variable in the component.

MulleDK19, I got it working.
Thank you.