~~NOTOC~~ <=[[4rpl:start| Index]] ====== RPLCamTweenLookAt ====== RPLCamTweenLookAt(<-pos <-lookatPos <-time) ===== Description ===== Causes the camera, in rpl mode, to move to pos and lookat the lookatPos (both vector3s) over the specified time in seconds. ===== Examples ===== RPLCamTweenLookAt(V3(40 20 30) V3(40 0 60) 0.6) GetCameraPosition ->cameraPos GetCameraRotation ->cameraRot SetRPLCam(true) SetRPLCamPosition(<-cameraPos) #So the camera isn't sitting at 0,0,0. SetRPLCamRotation(<-cameraRot) #So the camera isn't oriented as 0,0,0. RPLCamTweenLookAt(V3(40 20 30) V3(40 0 60) 5.0) <=[[4rpl:start| Index]]