Greetings!
I am currently in the process of making a vehicle similar to a tank with a rotating ‘turret’ that follows the direction of the mouse+camera. I’ve managed to get it working with the code shown below:
That works all well and good, but what I’d like to do is add some kind of ‘lag’ to the Interp. Essentially what I want is the turret to ‘lag’ behind the rotation of the camera, catching up to the rotation of the camera after a delay. I have a video on YouTube showing the current situation:
- [RInterpTo Video][2]
In the video you can see that the ‘turret’ catches up to the camera’s rotation really quickly. I’d like it to be more along the lines of World of Tanks, where the player moves the camera to look at a target then the turret catches up to it at a set speed.
Any and all help is greatly appreciated!