How to implement an interpolate to prevent snapping

Hey guys,

I currently have this setup for a camera look on a vehicle with a mounted turret. Everything functions perfetly how I want it to, but when I rotate the camera (and therefore the turret) the turret snaps to its new position. I’m wondering where I can implement an interpolation node to smooth out the transition of the turret from its starting location to wherever the camera rotates.

I’ll explain in very broad strokes here:

  1. Your camera would need to define
    something like DesiredDirection
    variable. (maybe on your vehicle)
  2. Your vehicle should have something
    like MaxTurretRotationSpeed. (This
    will be per second)
  3. Every frame (TickEvent) in your
    vehicle you should rotate your
    turret by
    MaxTurretRotationSpeed*DeltaTime
    towards your DesiredDirection until
    you reach it.

Happy coding :slight_smile:

Thanks! I’m pretty new to blueprinting, but I’ll give this a shot and see if I can figure it out!