Announcement

Collapse
No announcement yet.

Smooth camera movement

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

    Smooth camera movement

    I have trigger boxes that change the position of my camera... They literally work on overlap actor events.

    How do I make the camera change from one position to another smoothly?

    I currently am just setting:


    Code:
    player->CameraBoom->TargetArmLength = NewTargetArmLength;
    player->CameraBoom->SocketOffset = NewSocketOffset;
    and it's obviously flicking to it's new location.

    I also tried MoveComponent but that does not seem to be working as intended:

    Code:
    player->CameraBoom->MoveComponent(MoveToLocation, player->CameraBoom->RelativeRotation, NULL);
    Last edited by jimmyt1988; 09-16-2014, 06:45 PM.

    #2
    I don't have any actual code to give you but you're going to have to do something similar to a LERP or trigger a matinee with a custom point.

    There may be a way to move an element with easing though.

    Comment


      #3
      This might help you out.
      https://www.unrealengine.com/blog/th...ic-of-interpto

      Comment


        #4
        Thanks you two... Going to have a go at it now.

        Comment

        Working...
        X