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.
Your camera would need to define
something like DesiredDirection
variable. (maybe on your vehicle)
Your vehicle should have something
like MaxTurretRotationSpeed. (This
will be per second)
Every frame (TickEvent) in your
vehicle you should rotate your
turret by
MaxTurretRotationSpeed*DeltaTime
towards your DesiredDirection until
you reach it.