Randomation-Vehicle-Physics icon indicating copy to clipboard operation
Randomation-Vehicle-Physics copied to clipboard

What determines the position of the main camera ?

Open TheBricktop opened this issue 4 years ago • 1 comments

Im trying to create my own vehicle using modified prefab and so far so good car moves and steers but camera always point underneath the chassis, Ive tried modifying the parameters of height and distance but it always was either too far or too low .

TheBricktop avatar Sep 08 '21 13:09 TheBricktop

Make sure the cast mask on the camera control script excludes the layers that your vehicle's colliders are on, or set the layer of the colliders to be different. The included vehicles have everything on the Vehicles layer and the camera only pays attention to the Default layer.

JustInvoke avatar Sep 08 '21 14:09 JustInvoke