JItter while rotating

Hey everyone,

I’m having an issue with my character’s rotation in Unreal Engine: when turning, the character jitters and I can’t figure out why.

Here’s my current character setup:

CameraBoom = CreateDefaultSubobject<USpringArmComponent>(TEXT("Camera Boom")); 
CameraBoom->SetupAttachment(RootComponent);
CameraBoom->bUsePawnControlRotation = true;

ViewCam = CreateDefaultSubobject<UCameraComponent>(TEXT("View Camera"));
ViewCam->SetupAttachment(CameraBoom, USpringArmComponent::SocketName);
ViewCam->bUsePawnControlRotation = false;

bUseControllerRotationYaw = false;
GetCharacterMovement()->bOrientRotationToMovement = true;
GetCharacterMovement()->bUseControllerDesiredRotation = false;
GetCharacterMovement()->RotationRate = FRotator(0.0f, 1440.0f, 0.0f);

Disabling Orient Rotation to Movement removes the jitter, which is really weird. If I enable bUseControllerRotationYaw, the jitter comes back

Has anyone experienced jitter with “Orient Rotation to Movement” before and know how to fix it? Thanks in advance!

https://www.youtube.com/watch?v=FkFsUkhnxEs

At a guess the spring arm is colliding which is causing the collision. You could try disabling collision on it

In capsule collision settings, Camera is already ignored, i tried to disable “Do collision test” on spring arm, same results sadly

That will go away. The idle animation looks like it is restarting rapidly. Check the ABP to see what the exit condition to idle is.

Even with all animations disabled, my character still jitters
The issue seems to appear when the character rotates too fast — the movement makes a noticeable jump or snap.

It is late here and I dont have access to the materials but if you post something in the course Q&A then I will get back to toy tomorrow…