08.03.2012, 13:39
Hi.
I have two points. I am going to use the new 0.3e InterpolateCameraPos function to move the camera between these points. I want to move it at a speed of, for example, 3 units per second. How would I go about doing that? I know I need to use GetDistanceBetweenPoints, I'm just stuck on the simple maths part. The 'speed' parameter in the function is in miliseconds, so how do I convert the distance to those miliseconds?
Any help is appreciated.
I have two points. I am going to use the new 0.3e InterpolateCameraPos function to move the camera between these points. I want to move it at a speed of, for example, 3 units per second. How would I go about doing that? I know I need to use GetDistanceBetweenPoints, I'm just stuck on the simple maths part. The 'speed' parameter in the function is in miliseconds, so how do I convert the distance to those miliseconds?
Any help is appreciated.