Posts: 381
Threads: 19
Joined: Oct 2011
Reputation:
0
so i want the camera to show my player a place, but it keeps showing the back view of it
i tried setcamerabehindplayer but that didint work either.
Posts: 381
Threads: 19
Joined: Oct 2011
Reputation:
0
I kno how to use them .. My problem is, my XYZ floats are fine but IN-GAME the location shows backwards.
Posts: 254
Threads: 36
Joined: Nov 2011
Reputation:
0
Ok, you want to get the XYZ coords of the position of the camera, and the XYZ coords you want the camera to look at, using:
SetPlayerCameraPos()
and
SetPlayerCameraLookAt()
EX: (Me and my computer)
I would get MY XYZ coords, which will be SetPlayerCameraPos()
and the COMPUTERS XYZ coords, which will be SetPlayerCameraLookAt()
Therefore, making me the camera's position, with me looking at the computer. Understand?