Simple Free-Look Camera for Godot 4 1.0 Scripts 4.0 Community
Submitted by user AlanRichard; MIT; 2022-12-04
A simple 3D 100-line free-look camera for Godot 4.0 that mimics some of the functionality of the editor's camera for in-game use.
!! Original authors/contributors are Adamviola et al. (https://github.com/adamviola/simple-free-look-camera). This is a port to Godot 4.0.
* 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.
* Press Shift to move faster, and hold Alt to move slower.
* Roll the scroll wheel to increase and decrease movement speed.
* Hold down the right mouse button to rotate the camera.
There's a slider in the editor to control mouse sensitivity.
Install it by attaching camera.gd to your Camera3D node.
View files Download Submit an issue Recent Edits