Camera pawn not rotating
I am trying to make a camera for my tactical game, what i did is create a pawn with just a SpringArm and a Camera attached to it ; The pawn possessed by my PlayerController.
I tried using AddControllerYaw, SetActorRotation (being the one i would want to use here) or even SetControlRotation ; Each time the camera rotate properly, but the pawn itself (actor) does not, so when i want to change its location based on the RightVector for instance, it moves based on its original orientation.
I am sure it is something stupid, i tried meddling with options like UseControllerRotationYaw or UsePawnControlRotation, but nothing changes.
All i want is to rotate the pawn/actor so that i can then translate it.
asked Aug 28 '16 at 02:41 PM in Blueprint Scripting
I found what i was looking for, AddActorLocalOffset, had to change the pitch rotation to only affect the SpringArm though so that the pawn forward stays horizontal to the ground.
answered Aug 28 '16 at 04:23 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here