Add Movement Input always inside a Tick Function?

  1. Should I always use “Add Movement Input” inside “Event Tick”? When I use it elsewhere, the character becomes very slow.

image

  1. For performance reasons, can I change the Tick frequency? For example, to 0.05 seconds? Does this make the character slower? How does the “Add Movement Input” function handle “Delta Seconds”?

Thank you.

Hi, I’d say Tick is not the best place to use Add Movement Input. For example character speed would be different on different tick rates - so it’s rather not intended.

Usually Add Movement Input is used after Input Axis Events. You can check FirstPersonExample or ThirdPersonExample template, they have correct implementation for this node. If character is too slow you can adjust it’s speed in CharacterMovementComponent.

1 Like

Thanks!!