Hello, I would like to create a head bobble effect with C++.

Alright sorry to make so many replies and questions but I took a couple more shots at it and I got it to this now

double VelocityMultiplier = UKismetMathLibrary::NormalizeToRange(CharacterVelocity, 0.0f, Character->GetSprintSpeed());
float Accumulator = (FApp::GetDeltaTime() * VelocityMultiplier );

The problem is I don’t know how to get the character’s velocity or reference the character. I use a character class for the player so would I use a this. Also in my previous reply, I talked about how I use axis mappings to move the character. e.g pressing w will give the value of 1 and pressing s will give the value of -1. Then how would I decide velocity would I use these values?