SA-MP Forums Archive
Camera Problem - 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: Camera Problem (/showthread.php?tid=491690)



Camera Problem - yancarlos4500 - 31.01.2014

Hello,

I have a problem with InterpolateCameraPos and InterpolateCameraLookAt

Well everything is good but when i see the camera in motion, some buildings doesn't look very detailed.

This is a part of the code I use

pawn Код:
forward Camera2(playerid);
public Camera2(playerid)
{
    InterpolateCameraPos(playerid, 1398.759643, -1617.938842, 144.752304, 1502.631469, -1649.579223, 128.627700, 6000);
    InterpolateCameraLookAt(playerid, 1400.835937, -1613.462402, 145.558563, 1502.858154, -1644.655517, 129.467453, 6000);
    SetTimerEx("Camera3", 5500, false, "i", playerid);
}
and here is a video

[ame="http://www.youtube.com/watch?v=2uKqm5ciaXU"]http://www.youtube.com/watch?v=2uKqm5ciaXU[/ame]


Re: Camera Problem - yancarlos4500 - 31.01.2014

Well I fix it. I just add it TogglePlayerSpectating(playerid, 1);