Skip to content

Add option to ignore time scale #641

Description

@seh-GAH-toh

Project Type

3D, 2D

Feature Description

Add an option for PhantomCamera and/or PhantomCameraHost to ignore Engine.time_scale, preventing camera tweening from freezing/speeding when the engine time scale is modified.

Use Cases

When pausing my game, I set Engine.time_scale to 0, which freezes the game physics processing and stops the player and obstacles from moving. However, it also affects tweening, which prevents my phantom camera from transitioning from the player camera to the pause camera.

Current behavior:

current.mp4

Ideal behavior:

ideal.mp4

(Optional) Proposed Solution

Godot tweens have a method called .set_ignore_time_scale() that allows tweening to ignore time_scale, but Phantom Camera doesn't seem to use it.

https://docs.godotengine.org/en/stable/classes/class_tween.html#class-tween-method-set-ignore-time-scale

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    2DIssues concerning 2D scenes3DIssues concerning 3D scenesengineIssues related to the engineenhancementNew feature or requestphantom camera hostRelated to PhantomCameraHost nodes

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions