[Question] Camera Interpolate Functions - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Question] Camera Interpolate Functions (
/showthread.php?tid=386295)
[Question] Camera Interpolate Functions -
Maxips2 - 20.10.2012
I've been trying to use the new Interpolate functions which were introduced in SA-MP 0.3e release and I can't quite understand how to work with them.
Well actually, InterpolateCameraLookAt is giving me trouble, the other function is fine.
For example I have this code:
Код:
InterpolateCameraPos(playerid, 1818.259277, -1855.356567, 16.967189, 1742.514160, -1850.445068, 15.802717, 15000, 1);
InterpolateCameraLookAt(playerid, 1814.259399, -1855.383056, 16.985940, 1742.513671, -1854.432739, 15.488384, 15000, 1);
It's interpolating the camera pos with no issues, but the camera look at is not being interpolated.
What could be the cause for that?