Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

👻🎥 Control the movement and dynamically tween 2D & 3D cameras. Built for Godot 4. Inspired by Cinemachine.

License

NotificationsYou must be signed in to change notification settings

ramokz/phantom-camera

Repository files navigation

phantom-camera-readme-header

Static BadgeGitHub License

What is it?

Phantom Camera is a Godot 4 plugin designed to provide and simplify common behaviors for the built-inCamera2D andCamera3D nodes - heavily inspired by a Unity package called Cinemachine.

It allows for simple behaviours such as following and looking at specific nodes, with an optional smooth/dampened movement, to more advance logic like reframing itself to keep multiple nodes in view and dynamically animate between specific camera positions, i.e. otherPhantomCamera nodes, on demand.

Feature.Examples.mp4
Documentation & GuidesRoadmap

Showcases

GameFromScratch's Youtube OverviewBissash's Youtube Video

(English)

Phantom Camera For Godot Is Awesome!
GameFromScratch

(Spanish)

Mejores cámaras con Phantom Camera
Bissash

Clécio Espindola GameDev's Youtube VideoClécio Espindola GameDev's Youtube Video

(Portuguese)

CÂMERA mais DINÂMICA com Phanton Camera
Clécio Espindola GameDev

(English)

The 4 MUST Have ADDONS for Godot 4
DevWorm

Features

Determines whichPhantomCamera should be active with theCamera2D/Camera3D.

When a new camera recieves a higher priority than currently activePhantomCamera theCamera2D/Camera3D will seamlessly transition to the new one.


Define how theCamera2D/Camera3D should follow, or reposition based on, its target(s).

Sticks to its target.


Follows the target with an optional offset and damping.


2D

3D
2D-Follow-Simple.mp4
3D-Follow-Simple.mp4

Follows the centre of a collection of targets.


2D

3D
2D-Follow-Group.mp4
3D-Follow-Group.mp4

Follows a target while being positionally confined to aPath node.


2D

3D
2D-Follow-Path.mp4
3D-Follow-Path.mp4

Enables dynamic framing of a given target using dead zones. Dead zones enable the camera to remain still until the target moves far enough away from the camera's view. This is determined by the horizontal and vertical dead zone size in their respective properties within the inspector.


2D

3D
2D-Follow-Framed.mp4
3D-Follow-Framed.mp4

As the name implies, this mode is meant to be used for third person camera experiences.
It works by applying aSpringArm3D node as a parent, where its properties, such asCollison Mask,Spring Length andMargin, can be adjusted from thePhantomCamera node.


2D

3D
Not available in 2D
3D-Follow-Third-Person.mp4

Define the Zoom level for theCamera2D.


2D

3D
2D-Zoom.mp4
Not available in 3D

Defines where theCamera3D should be looking—adjusting its rotational value.


Copies the rotational value of its target.



Looks At the target with an optional offset.


2D

3D
Not available in 2D
3D_Look_At_Simple.mp4

Looks at the centre of a collection of targets.


2D

3D
Not available in 2D
3D-LookAt-Group.mp4

Tweak how theCamera2d/Camera3D tweens to a newly activePhantomCamera.


2D

3D
2D-Tweening.mp4
3D-Tweening.mp4

Viewfinder.mp4

Preview what theCamera2D /Camera3D sees when attached to a PhantomCamera. Accessible from the bottom panel labelledPhantom Camera. The viewfinder rendering of the scene will only work when the combination of aCamera,PhantomCameraHost andPhantomCamera are present in the scene.


🪀 Example Scenes

A 2D and 3D example scenes can be found insideres://addons/phantom_camera/examples.

💾 Installation

Asset Library (Recommended - Stable)

  1. In Godot, open theAssetLib tab.
  2. Search for and select "Phantom Camera".
  3. Download then install the plugin (be sure to only select thephantom_camera directory).
  4. Enable the plugin insideProject/Project Settings/Plugins.

Github Releases (Recommended - Stable)

  1. Download arelease build.
  2. Extract the zip file and move theaddons/phantom_camera directory into the project root location.
  3. Enable the plugin insideProject/Project Settings/Plugins.

Github Main (Latest - Unstable)

  1. Download the latestmain branch.
  2. Extract the zip file and move theaddons/phantom_camera directory into project's root location.
  3. Enable the plugin insideProject/Project Settings/Plugins.

For more help,seeGodot's official documentation

📖 Roadmap

See theproject page for upcoming features.

FAQ

See theFAQ page on the documentation site.

Contribution

See thecontribution guidelines on the documentation site.

Credits

MIT License

About

👻🎥 Control the movement and dynamically tween 2D & 3D cameras. Built for Godot 4. Inspired by Cinemachine.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp