How to create Flythrough Camera with smooth movement in Unity3D
In this tutorial I'll explain the whole process of creating and controling camera movement in Unity3D and yes, I'll do it from scratch. Anyways, first, I'll explain the theory behind in 5 minutes, then I'll practically show you how to do these steps:
- Moving the camera using WASD (handling the diagonal movements too)
- Mouse Look
- Smoothing the camera movement
This should be sufficient for you to extend the behaviour even further!
All settings will be in the inspector so you can manage them any time you want (even with script). This will allow you to create for example in-game options menu and adjust the settings of this controller.
Hope you will learn something hints here and there or more and if you have any questions just post them below the video.
Thanks for watching!
Here is the unity package: