-
-
Notifications
You must be signed in to change notification settings - Fork 137
Add option to ignore time scale #641
Copy link
Copy link
Open
Labels
2DIssues concerning 2D scenesIssues concerning 2D scenes3DIssues concerning 3D scenesIssues concerning 3D scenesengineIssues related to the engineIssues related to the engineenhancementNew feature or requestNew feature or requestphantom camera hostRelated to PhantomCameraHost nodesRelated to PhantomCameraHost nodes
Description
Activity
Metadata
Metadata
Assignees
Labels
2DIssues concerning 2D scenesIssues concerning 2D scenes3DIssues concerning 3D scenesIssues concerning 3D scenesengineIssues related to the engineIssues related to the engineenhancementNew feature or requestNew feature or requestphantom camera hostRelated to PhantomCameraHost nodesRelated to PhantomCameraHost nodes
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_scaleto 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