Hello all.
I want to create a custom camera for login/character managment. The problem is, its not looking where I want it.
I have two cordinates of x, y, z:
- where I want to set the camera: CamCoord (In the sky)
- and where I want to look: CamRot (In town, Sandy Shores, at houses)
Here is my script:
local CAM = CreateCam("DEFAULT_SCRIPTED_CAMERA", true)
SetCamCoord(CAM, defaultCamPos.x, defaultCamPos.y, defaultCamPos.z)
SetCamRot(CAM, defaultCamPos.rX, defaultCamPos.rY, defaultCamPos.rZ)
SetCamFov(CAM, 60)
RenderScriptCams(true, false, 0, 1, 0)
SetCamActive(CAM, true)