There's a way to make a scene ignore time scaling? or manipulate time scaling only on a specific scene?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Barina
:warning: Old Version Published before Godot 3 was released.

OS.set_time_scale() is too general for me… I wanna make a specific scene (or a specific node) to slow down without affecting other scenes or nodes
Is it possible?

:bust_in_silhouette: Reply From: volzhs

in that case, you need to make your own to handle it.
something like this.

var SPEED = 100.0
var time_scale = 1.0

func _process(delta):
    var speed = SPEED * delta * time_scale

Yes but how will it affect gravity and other general things…?
Maybe it’ll be an interesting feature letting Node to implement such thing.
So every Node has it’s own time scale that will affect all it’s inheriting children as well…

Barina | 2016-07-07 15:44