Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What determines the position of the main camera ? #53

Open
TheBricktop opened this issue Sep 8, 2021 · 1 comment
Open

What determines the position of the main camera ? #53

TheBricktop opened this issue Sep 8, 2021 · 1 comment

Comments

@TheBricktop
Copy link

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 .

@JustInvoke
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants