+3 votes

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?
Thanks

in Engine by (43 points)

1 Answer

+3 votes

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
by (9,796 points)

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

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.