Need some help with cameras
#1

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?
Reply
#2

You can try attaching an invisible or very tiny object to the vehicle and then, attaching the camera to the object.
Reply
#3

And can I make the attatched camera look at a specific spot?
SetPlayerCameraLookAt works only with the map's coords.
Reply
#4

bump
Reply
#5

get other players position, or vehicle and set playercameralookat to it
Reply
#6

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.
Reply
#7

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?
Reply
#8

Stocks...damn I don't even know what are those...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)