BigMacintosh / Parking

Year 3 Games Project
MIT License
6 stars 0 forks source link

Stop the camera going through the terrain #192

Open RileyEv opened 4 years ago

RileyEv commented 4 years ago

Currently the camera has a fixed position on a car. Needs tweaking so that it doesn't go though terrain or models.

One proposed way currently is to use ray casts to check if the camera is about to go into the terrain. Then move the camera closer to the car but higher up.