OrionTH1 Posted January 26, 2023 Share Posted January 26, 2023 (edited) I'm trying change the player camera/aim in vector X to do a effect similar with a recoil, i was trying use: setCameraTarget(x, y, z) i guess it's the better way to change the player camera, but how can i get where the player is looking, like: setCameraTarget(actualX+10, actualY, actualZ) Edited January 26, 2023 by OrionTH1 Link to comment
Tails Posted January 27, 2023 Share Posted January 27, 2023 (edited) You can use getCameraMatrix: https://wiki.multitheftauto.com/wiki/GetCameraMatrix and setCameraMatrix https://wiki.multitheftauto.com/wiki/SetCameraMatrix Edited January 27, 2023 by Tails Link to comment
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