Log in to reply
 

How to capture camera position and orientation of player



  • I would like to be able to capture the extrinsic camera parameters of the player, that is camera position and rotation in the world. Is this possible to do in GTA V with some mod? I really have no clue where to start looking for the right tools to achieve this.

    Can someone point me in the right direction? Thanks.



  • You can script it by using GameplayCamera.Position and GameplayCamera.Rotation



  • @lorizz12 Thank you. I was able to find what I need here.

    The two functions I use are:

    CAM::GET_GAMEPLAY_CAM_ROT
    CAM::GET_GAMEPLAY_CAM_COORD


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.