25.02.2015, 12:12
GetPlayerCameraFrontVector
This function returns a vector X, Y, Z of the place where the player is aiming in 3D space from 2D. Yes, you may call this a sort of facing angle.
GetPlayerCameraPos
This generally gives the player camera pos in 3D space.
For making a generall camera for class selection, use those ^^ for reading the cordinates. And then use SetPlayerCameraPos and SetPlayerCameraLookAt for facing angle*.
TIP: you may use map editor for the same purpose. There is camera options at the top in VIEW sub window.
This function returns a vector X, Y, Z of the place where the player is aiming in 3D space from 2D. Yes, you may call this a sort of facing angle.
GetPlayerCameraPos
This generally gives the player camera pos in 3D space.
For making a generall camera for class selection, use those ^^ for reading the cordinates. And then use SetPlayerCameraPos and SetPlayerCameraLookAt for facing angle*.
TIP: you may use map editor for the same purpose. There is camera options at the top in VIEW sub window.