amterp / COMP30019-Project-1

Project 1 for 2018 Semester 2 of COMP30019
1 stars 0 forks source link

Add proper camera collision #4

Closed amterp closed 6 years ago

amterp commented 6 years ago

Ensure that the camera behaves as specified when touching the ground i.e.

amterp commented 6 years ago

I've got this working when the camera is not sprinting. However, sprinting with a speed of 12 allows the user to go through the terrain. What I might do is change the camera movement to use velocity on its rigidbody, and change its collision detection to continuous, so that it can't clip through the terrain no matter how fast it goes.

amterp commented 6 years ago

Implemented with #38.