Warning
This add-on is only compatible with Godot 4, not 3.x.
This add-on restores a node similar to the built-in InterpolatedCamera3D (which was removed in Godot 4.0). On top of that, it provides more control over smoothing by letting you use different factors for translation, rotation, FOV changes, and near/far plane changes.
Note that this add-on is not a 100% compatible drop-in replacement to the InterpolatedCamera3D node, as this add-on provides some features that are backwards-incompatible.
This repository only contains the add-on. See godot-extended-libraries/godot-interpolated-camera3d-demo for the demonstration project.
- Open the Godot editor.
- Navigate to the AssetLib tab at the top of the editor and search for "lod".
- Install the InterpolatedCamera3D plugin. Keep all files checked during installation.
- In the editor, open Project > Project Settings, go to Plugins and enable the InterpolatedCamera3D plugin.
Manual installation lets you use pre-release versions of this add-on by following its
master
branch.
- Clone this Git repository:
git clone https://github.com/godot-extended-libraries/godot-interpolated-camera3d.git
Alternatively, you can download a ZIP archive if you do not have Git installed.
- Move the
addons/
folder to your project folder. - In the editor, open Project > Project Settings, go to Plugins and enable the InterpolatedCamera3D plugin.
- After enabling the plugin (see above), add an InterpolatedCamera3D node to your scene.
- Select the InterpolatedCamera3D node, go to the inspector and define a Target node. The target node must be a node inheriting from Node3D. If the target node a Camera3D, the InterpolatedCamera3D will smoothly acquire its FOV and near/far plane distance values as well.
- Configure the InterpolatedCamera3D's smoothing values to your liking. Higher values will interpolate faster.
Copyright © 2020-present Hugo Locurcio and contributors
Unless otherwise specified, files in this repository are licensed under the MIT license. See LICENSE.md for more information.