Hello, i have tried everything to rotate my vehicle in the advance Vehicle template.
FRotator ActorRotation = GetActorRotation();
ActorRotation.Pitch += Val * 50;
SetActorRotation(ActorRotation);
FString VeryCleanString = FString::SanitizeFloat(ActorRotation.Pitch);
GEngine->AddOnScreenDebugMessage(-1, 15.0f, FColor::Green, VeryCleanString);
also tryed using GetController()->SetControlRotation(FRotator(100,100,100));
Also the string print with correct value. But the vehicle is at the same rotation as before.
Thanks