Skip to content

adamviola/simple-free-look-camera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Free-Look Camera

A simple 3D 100-line free-look camera for Godot 4 that mimics the functionality of the editor's camera for in-game use. For a version that works for Godot 3, see the godot-3 branch.

Usage

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.

Hold down the right mouse button to rotate the camera. There's a slider in the editor to control mouse sensitivity.

Installation

Attach camera.gd to your Camera node. That's it!

License

MIT.