What is the best way to move the camera from one point to another? (I am talking about math)
Of course I have to put it on client Render.
setCameraMatrix (117.5101852417, 163.30557250977, 5579.2065429688, 116.48139190674, 156.49519348145, 5579.0087890625)
local posX, posY,posZ = 120.94383239746,162.29713439941,5579.5678710938-- location2
addEventHandler("onClientRender",root,
function ()
local xU, yU, zU, xUt, yUt, zUt = getCameraMatrix()
setCameraMatrix (xU, yU, zU, 116.48139190674, 156.49519348145, 5579.0087890625)
end)