Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation tree animates too fast when multiple of the same scene are instanced. #22887

Closed
BanjoCollie opened this issue Oct 9, 2018 · 5 comments

Comments

@BanjoCollie
Copy link

BanjoCollie commented Oct 9, 2018

Godot version: 3.1 alpha 1

OS/device including version: Windows 10

Issue description:
If a node is animated by an AnimationTree and it is instanced multiple times, each instance runs the animation faster. Two instances seems to double animation speed, three triples, ect.

Steps to reproduce:
Create a scene with an animation player and an animation. Have an animation tree within the scene run that animation. Instance multiple of the first scene within some other scene.

Minimal reproduction project:

Bug Test.zip

@BanjoCollie BanjoCollie changed the title Animation tree runs faster when multiple of the same scene are instanced. Animation tree animates too fast when multiple of the same scene are instanced. Oct 9, 2018
@akien-mga akien-mga added this to the 3.1 milestone Oct 16, 2018
@kubecz3k
Copy link
Contributor

kubecz3k commented Nov 5, 2018

I can confirm the issue still occurs in 72db300
Gif that presents the issue and my reproduction setup (quick setup based on Platformer 3D demo):
animtreespeed

@kubecz3k
Copy link
Contributor

kubecz3k commented Nov 5, 2018

From my observations, it seems the issue might be more complicated since in my game the player's AnimationTree speed is also directly related to the number of enemies which are instanced in the world (and enemies are not using AnimationTree at all).

@nagasawamaki
Copy link

I found that the TPS demo hasn't this issue but I also encounter the same issue.
Don't know why.
Anybody knows why TPS demo work?

@akien-mga
Copy link
Member

See also MRP from #23529: AnimationTree.zip

@rafallus
Copy link
Contributor

rafallus commented Nov 8, 2018

@nagasawamaki How is TPS working for you? If I make a scene with two instances of the robot (player or enemy) the speed increases as with any other AnimationTree scene instance

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

Successfully merging a pull request may close this issue.

5 participants