Posts: 3,002
Threads: 86
Joined: Jul 2010
Reputation:
0
I know the functions to put a camera in one place or make it move. But those functions are mounting the camera in correlation with the map's origin. I need to mount the camera on a point that stands in correlation with the player's vehicle origin (like attaching it to the vehicle) and make it look on another point that is attached to the car. Is it possible? If yes, how?
Posts: 232
Threads: 5
Joined: Jun 2012
Reputation:
0
You can try attaching an invisible or very tiny object to the vehicle and then, attaching the camera to the object.
Posts: 3,002
Threads: 86
Joined: Jul 2010
Reputation:
0
And can I make the attatched camera look at a specific spot?
SetPlayerCameraLookAt works only with the map's coords.
Posts: 791
Threads: 65
Joined: Oct 2009
Reputation:
0
get other players position, or vehicle and set playercameralookat to it
Posts: 3,002
Threads: 86
Joined: Jul 2010
Reputation:
0
I need this to update my tuning script. Since the dialog stays in the center of the screen I want to make the camera look at certain parts of the car, so that the players see what they are adding. I don't need the camera to look at a player, I need it to look at the car from a certain angle.
Posts: 2,187
Threads: 81
Joined: Aug 2011
Reputation:
0
Search for stocks to get positions from all angles of a car (Behind the car, across the car, besides the car, etc), get the co - ordinates and use the camera functions to look at those co - ordinates?
Posts: 3,002
Threads: 86
Joined: Jul 2010
Reputation:
0
Stocks...damn I don't even know what are those...