GetBaseAimRotation( ) Returns Zero All the time!

hello my friends
I have written a code to return the value of my aimRotation to do a MovmentOffsetYaw
I’m new to Unreal Coding
Here is the code
This is a really simple code but it just does not work

FRotator AimRotation = ShooterCharacter->GetBaseAimRotation();
FString AimRotationMessage = FString::Printf(TEXT("AimRotation: %f "), AimRotation.Yaw);
if (GEngine) {
    GEngine->AddOnScreenDebugMessage(2, 0.f, FColor::White, AimRotationMessage);
} 

Solved It seemed that I had 2 blueprint Character on the Scene I did delete the other one and the Problem Solved

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.