Adventures of Chap’n Dale our final school project at Sint Lucas Eindhoven. This is a 3D “Silent” third person action game made in Unity3D. This project I created all the code. We had just one 3d artist and someone else was responsible for the storyline and all of the documents.
We had some difficulties with our camera. For our camera movement we used the already provided OrbitCamera script. But on some point we needed to disable this script for a very short time to show our camera shock! Re-enabling the OrbitCamera afterwards made it go buggy. The camera got stuck or just kept rotating. For this I wrote the function below in the code snippet.