Download

Attached camera rotation problem

Hi, I have attached a camera to characters mesh head socket. But i cannot position it properly, camera looks always over left shoulder of character. because of using pawn control rotation, any change in cameras rotation does not have any effect. is there something missing in my code


  FPSCameraComponent = CreateDefaultSubobject<UCameraComponent>(TEXT("PlayerCamera"));
   FPSCameraComponent->SetupAttachment(GetMesh(),"HeadSocket");

i fixed. something 90 degrees wrong with animation starter pack mannequin