sorry I forgot about that.
The rotation when pressing space isnt working as it should be. Sometimes the camera rotates all around the entity , and the closest way wasnt in this direction...if you can understand what I mean
I will fix this soon , and try to add a collision detection. If someone wants to play with the script and come up with something post it.