This plugin adds Orbit Controls to the Godot Game Engine.
Based on the Orbit Controls of three.js
Test the live demo and features at https://lucajunge.github.io/godot_orbit_controls/build/index.html
The plugin is available in the Asset Library for Godot 4.
Search for Orbit Controls
in the Asset Library and click on Download
. After it finished downloading, click Install
on the newly opened window.
Dont forget to enable the plugin in the Project Settings > Plugins > Orbit Controls > ☑ Enable
.
git clone https://github.com/LucaJunge/godot-orbit-controls.git
Copy the addons/orbit-controls
to your addons
folder in your project.
Enable the plugin in the Project Settings > Plugins > Orbit Controls > ☑ Enable
.
You can add the
OrbitControls
as a new node to your scene.
An example scene coud look like this:
Take a look at the inspector for possible configuration options.
In the Camera
slot, click Assign
to select your camera from the current scene tree. This will be the camera that moves around in your scene.
You can also set a Vector3
as the Target
which the camera will orbit: