Announcement

Collapse
No announcement yet.

Rotate Camera without rotating Controller or Pawn

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Rotate Camera without rotating Controller or Pawn

    Hello,

    I do not get new camera logic and can not find a way how to rotate 3d person camera without rotating character or controller.

    My movement settings:
    bOrientRotationToMovement = false;
    bUseControllerDesiredRotation = true;

    If i set bUseControllerDesiredRotation to false than i can rotate camera without rotating character. But if i move, character is using wrong direction that depends on camera position (like D for forward, A for backwards) and i do not want this.

    Do you have any ideas?

    Thanks.
    Last edited by Footman; 04-14-2014, 01:06 PM.

    #2
    If I understand correctly you want something like WoW camera system? Try to get camera forward vector when adding movement input.It's probably how you can do it.

    Comment


      #3
      OK i found the way by myself. Camera is component of Character. So i have only to change rotation of CameraBoom in Controller::UpdateRotation.
      Last edited by Footman; 04-14-2014, 08:44 PM.

      Comment

      Working...
      X