[UE4.27] How to adjust player movement relative to rotation?

congatime
Tue, 15 Jul 2025 03:42:29 +0000
C++

I’ve been trying to create a special rotation script for my player character in C++; I want the character to move forwards in the direction they turn when acceleration is not being applied, to maintain their physics properties (namely, gradually slowing down when no accel input is given), and to allow for horizontal movement.

So far my attempts have been within the Character class itself, but I’m suspecting that I will need to make a custom Character Movement Component to combine forward movement and rotation the way I’ve envisioned.

Is it possible to write the script within the Character class, or would I need to make a custom CMC?

1 post - 1 participant