Simple Free-Look Camera for Godot 4 in C# 1.0 Scripts 4.2 Community
Submitted by user D0ct0rDave; MIT; 2024-05-24
A C# implementation of a simple 3D free-look camera for Godot 4.0 that mimics some of the functionality of the editor's camera for in-game use.
Ported from Richardhyy's Godot 4.0 GD version (https://github.com/richardhyy/simple-free-look-camera-4), who ported from Adamviola's Godot 3.2 GD version https://github.com/adamviola/simple-free-look-camera).
* Use **W** and **S** to move forward and backward.
* Use **A** and **D** to move left and right.
* Use **Q** and **E** to move up and down.
* Roll the **scroll wheel** to increase and decrease movement speed.
* Press **shift** to move faster, and hold **alt** to move slower.
* Hold down the **right mouse button** to rotate the camera.
There's a slider in the editor to control mouse sensitivity.
Attach `FreeLookCameraBase.cs` or `FreeLookCamera.cs` to your Camera3D node. That's it!
(More information at the README.md file)
View files Download Submit an issue Recent Edits