Edit of asset "Trackball Camera" Accepted
Old/Current | New/Edit | |
---|---|---|
Title | Trackball Camera | |
Description |
A Trackball Camera that responds to input from actions, mouse, keyboard, joystick and touch, in order to rotate around its parent node while continuously facing it. Works with Godot 3.x (tested up to 3.5). - stays around its parent node, even if the latter moves - no gimbal lock (quaternions ♥) - camera inertia for a smoother experience - keep the horizon stable if you want - the parent node does not have to be centered in the camera's view - can be used to look around itself - analog camera control with joystick, courtesy of @marcello505 - smooth and constrained zoom with PGUP / PGDOWN or your own custom action, if you want to use the mouse wheel for example - constrain pitch, or handle headstands by inverting x - a bunch of parameters to configure things as you want them CONS: - No panning - No promises USAGE 1. Add a TrackballCamera node as child of the node you want to trackball around. 2. Translate the camera along the Z axis a little bit, so that it faces its parent. 3. Configure the camera. |
|
Category | 3D Tools | |
License | MIT | |
Repository Provider | GitHub | |
Repository Url | https://github.com/Goutte/godot-trackball-camera | |
Issues Url | https://github.com/Goutte/godot-trackball-camera/issues | |
Godot version | Godot 3.0 | |
Version String | 6.0 | 5.2 |
Download Commit | c623f7ebeda502049635c75ce322438895170bb9 | d9b78f922a75dac0a4511adf901383e10530f0bd |
Download Url (Computed) | https://github.com/Goutte/godot-trackball-camera/archive/c623f7ebeda502049635c75ce322438895170bb9.zip | https://github.com/Goutte/godot-trackball-camera/archive/d9b78f922a75dac0a4511adf901383e10530f0bd.zip |
Icon Url |
https://github.com/Goutte/godot-trackball-camera/raw/master/addons/goutte.camera.trackball/icon.png
|