How to add smooth move effect to my character?

When I press move forward/right… character is directly reaching the maximum speed and starting to move in the speed of 700 as the maximum speed.

I want the character first start in speed 300 or 350 and then switch to the maximum speed.

Thank You for any help in advance.

1 Like

You can do it using movement velocity.
get velocity of movement and add a small value 10.0f and check if the output is greater then your walk speed, if yes set the sum to maxwalkspeed, and if not, set walk speed to max walk speed.

2 Likes

Thank You for help in my learning progress , I need a small example in code, very very appreciated )

1 Like
float mySpeedVelocity= GetCharacterMovement()->Velocity.Size() + 5.0f;
	if (mySpeedVelocity <= WalkSpeed)
	{
		GetCharacterMovement()->MaxWalkSpeed = mySpeedVelocity;
	}
	else
	{
		GetCharacterMovement()->MaxWalkSpeed = MyWalkSpeed;
	}
     Your movement Logic.....
3 Likes

Thank You very very much for help. You just solved my Issue.

2 Likes