SA-MP Forums Archive
using InterpolateCameraPos & InterpolateCameraLookAt - 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: using InterpolateCameraPos & InterpolateCameraLookAt (/showthread.php?tid=633834)



using InterpolateCameraPos & InterpolateCameraLookAt - iLearner - 07.05.2017

Hey,

So this was the first time i was using camera related things, i used this code to move the camera from 1 part to another:
PHP код:
InterpolateCameraPos(playerid, -2193.797607, -1153.27966320.058774, -2317.571777, -1025.14660618.51205810000);
    
InterpolateCameraLookAt(playerid, -2189.322509, -1155.48632820.382766, -2313.607177, -1028.18920818.67218710000); 
Works fine, but the problem is the trees look weired:



Anyone knows why though?


Re: using InterpolateCameraPos & InterpolateCameraLookAt - IstuntmanI - 07.05.2017

Your character is way too far from the camera, so you only see the LODs of those objects. Set player's position closer to the camera.