03.06.2010, 15:09
You need to do it like this:
As the Facing-Angle you just use the angle you saved together with the Players Position.
The Cameras position should not be the same as the players position. All in all it's easy.
Have fun trying out!
Cheers!
pawn Код:
SetPlayerPos(playerid,PlayerX,PlayerY,PLayerZ);
SetPlayerCameraPos(playerid,CameraX,CameraY,CameraZ);
SetPlayerCameraLookAt(playerid,X1,Y1,Z1);
SetPlayerFacingAngle(playerid, FacingAngle);
The Cameras position should not be the same as the players position. All in all it's easy.
Have fun trying out!
Cheers!