Facing camera screen
#1

Is there any command that faces your gaming camera screen?
Something like in SetPlayerFacingAngle but then as camera..
I dont want the camera to but stuck, or not to set the camera location..
Not SetPlayerCameraPos and not SetPlayerCameraLookAt

Just something like in SetPlayerFacingAngle but then as camera..
Reply
#2

Bump, 3rd page.
Reply
#3

Bump, 12 hours later.
Reply
#4

What do you mean exactly ? You want the camera to look at an position ?

If thats the case:

Use SetPlayerCameraPos to set the camera position, and use this to set the angle:
SetPlayerCameraLookAt(playerid, x,y,z);

And else explain a little more please.
Reply
#5

https://sampwiki.blast.hk/wiki/GetPlayerCameraPos

https://sampwiki.blast.hk/wiki/GetPlayerCameraFrontVector

https://sampwiki.blast.hk/wiki/GetPlayerCameraUpVector
Reply
#6

Something like that.. but I don't what that the camera sticks on the same position..
I just want it to face as the character.
Lets say playerid faces angle 175.0
Then I want the game screen/camera with the angle also 175.0 THEN they should be able to rotate the gamescreen / camera therselfs after.
Reply
#7

Then use SetCameraBehindPlayer

https://sampwiki.blast.hk/wiki/SetCameraBehindPlayer
Reply
#8

This what exactly what I was looking for in a long time thought, Thank you very much.
I really appreciate this.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)