Fist Posted March 30, 2016 Posted March 30, 2016 Hello. When i use setCameraMatrix it works all fine, but i want rotate angle to 180 and when i put in code in rotation 180 it only rotates like 10 or 20 not full 180. Is there solution for this? code setCameraMatrix (-1443.1142578125,-1509.5010986328,102.61036682129,180)
AlvarO Posted March 30, 2016 Posted March 30, 2016 Check the variables and take a look using 5000. lookAtX: The x coordinate of the point the camera faces. lookAtY: The y coordinate of the point the camera faces. lookAtZ: The z coordinate of the point the camera faces. roll: The camera roll angle, -180 to 180. A value of 0 means the camera sits straight, positive values will turn it counter-clockwise and negative values will turn it clockwise. -180 or 180 means the camera is upside down. fov: the field of view angle, 0 to 180. The higher this value is, the more you will be able to see what is to your sides. MTA:SA SPANISH DEATHMATCH PLAYER
Fist Posted March 30, 2016 Author Posted March 30, 2016 Check the variables and take a look using 5000.lookAtX: The x coordinate of the point the camera faces. lookAtY: The y coordinate of the point the camera faces. lookAtZ: The z coordinate of the point the camera faces. roll: The camera roll angle, -180 to 180. A value of 0 means the camera sits straight, positive values will turn it counter-clockwise and negative values will turn it clockwise. -180 or 180 means the camera is upside down. fov: the field of view angle, 0 to 180. The higher this value is, the more you will be able to see what is to your sides. i did use 5000, but still it rotated like 20 or 10, not full 180 angle.
#RooTs Posted March 30, 2016 Posted March 30, 2016 use: setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316)
Fist Posted March 30, 2016 Author Posted March 30, 2016 use: setCameraMatrix(source, 1468.8785400391, -919.25317382813, 100.153465271, 1468.388671875, -918.42474365234, 99.881813049316) Why the heck i should use same thing only from server side?
#RooTs Posted April 1, 2016 Posted April 1, 2016 so, there is kinda solution for this ? use the template arguments local pos1, pos2, pos3 = 1468.8785400391, -919.25317382813, 100.153465271 local pos4, pos5, pos6 = 1468.388671875, -918.42474365234, 99.881813049316 setCameraMatrix(source/localplayer, pos1, pos2, pos3, pos4, pos5, pos6 )
Fist Posted April 1, 2016 Author Posted April 1, 2016 so, there is kinda solution for this ? use the template arguments local pos1, pos2, pos3 = 1468.8785400391, -919.25317382813, 100.153465271 local pos4, pos5, pos6 = 1468.388671875, -918.42474365234, 99.881813049316 setCameraMatrix(source/localplayer, pos1, pos2, pos3, pos4, pos5, pos6 ) omg, its same thing. Pls dont post anymore.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now