SetPlayerCameraPos and LookAt
#1

hey guys!

It really takes me time to set player's correct lookat camera pos and camera pos.

So i grant you to do it for me please.

here is pic.

I want like this player class.




thanks
Reply
#2

Give me the player position and the camera position and I will generate the angle for you.
Reply
#3

SetPlayerPos(playerid,101,367.6491,2502.5344,16.48 44);
SetPlayerFacingAngle(playerid, 306.8883);
SetPlayerCameraPos(playerid,369.8332,2504.3203,16. 4844); SetPlayerCameraLookAt(playerid,371.3728,2505.5784, 16.4844);

I dont know the angle of lookat camera.

thanks
Reply
#4

Not sure if we can set the players head to look at a point but if you want the exact angle for players facing it's: 309.272308.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)