But it doesn’t work. I can get it to work if I use the capsule component but then I have another issue with the velocity direction not changing when I turn the character despite the forward vector changing.
hi @LockeKosta
in your code you are calling the impulse on your character movement component, not the primitive. You’ll need to get the UpdatedPrimitive and add the impulse to it.
The character movement component is just managing the movement and has no transform (you need a scene component to have such features)
It won’t move, it’s just made to control other components, such as the UpdatedComponent, which is the primitive component set as the root object in your class (the capsule at the root of the Character in most cases)
Before trying to make it work with the Character component, I did have it working with the capsule component. If I understand correctly, this is just a round about way of manipulating the Capsule component like I was already doing to begin with?
Yes you can just apply the impulse directly to the Capsule, using the CharacterMovementComponent is not required.
Getting the root component and casting it to a PrimitiveComponent and call the addimpulse to it is a nice way to achieve what you are looking for.