Hello, I am trying to create a physical character.
My Character is a Pawn.
Root - CapsuleComponent
SkeletalMesh -> Child of CapsuleComponent
I made a component capsule, put a physics simulation on true, lock rotation on X,Y.
I move the pawn with AddForce.
in Class Defaults: UseControllerRotationYaw = true
in SpringArmComponent: UsePawnControlRotation = true
When a capsule collides with an object, it changes rotation. But the forward vector remains the same. How is this even possible?
In the video: The red line is a trace by the forward vector. The gray arrow is the component that is in the capsule.
I call the trace like this