Giter Site home page Giter Site logo

boyquotes / godot-interpolated-camera3d Goto Github PK

View Code? Open in Web Editor NEW

This project forked from godot-extended-libraries/godot-interpolated-camera3d

0.0 0.0 0.0 33 KB

Provides an InterpolatedCamera3D node that replicates its 3.2.x functionality (and more)

Home Page: https://github.com/Calinou/godot-interpolated-camera3d-demo

License: MIT License

GDScript 100.00%

godot-interpolated-camera3d's Introduction

InterpolatedCamera3D add-on

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.

Installation

Using the Asset Library

  • 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

Manual installation lets you use pre-release versions of this add-on by following its master branch.

  1. 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.

  1. Move the addons/ folder to your project folder.
  2. In the editor, open Project > Project Settings, go to Plugins and enable the InterpolatedCamera3D plugin.

Usage

  1. After enabling the plugin (see above), add an InterpolatedCamera3D node to your scene.
  2. 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.
  3. Configure the InterpolatedCamera3D's smoothing values to your liking. Higher values will interpolate faster.

License

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.

godot-interpolated-camera3d's People

Contributors

calinou avatar cmd410 avatar matmas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.