This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Can you set the speed of "several people or all" without changing the speed of physics.

For example, when a person kicks a ball for 3 seconds, the speed of the person and the ball is slower. Instead of changing the physical speed of the ball, the sound of kicking the ball can be slowed down, but the music is not slowed down.

For example, the 3 seconds after the ball enters the goal, the people and objects in the whole scene are slower, but the music is not slow.

For example, I can set the speed of any person or object at any time without changing the physical speed. For example, the moving speed of the ball is 10, only the image is slow.

I haven't found a way to do it yet, please briefly describe the way. Use the latest version.Both 2D and 3D are used.

in Engine by (18 points)
edited by

1 Answer

0 votes

Maybe mess with delta. In the script of the object you want to speed up or slow down, where you have implemented the movement code, multiply delta by a factor.

by (2,018 points)
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.