From 01fcfdaab29f0feaf3a2534647146f5f61a43876 Mon Sep 17 00:00:00 2001 From: B New Date: Sat, 22 Jan 2022 12:16:53 +0000 Subject: [PATCH] is_playing set to True or False when paused or resumed? Apologies if inappropriate -- I'm unfamiliar with animation, but was confused when is_playing remains True when paused. Most likely my hacky use of the FrameAnimation3d() function to animate .obj files is just not how this is supposed to be used. --- ursina/prefabs/frame_animation_3d.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ursina/prefabs/frame_animation_3d.py b/ursina/prefabs/frame_animation_3d.py index d5b83bc3..ec58fbb7 100644 --- a/ursina/prefabs/frame_animation_3d.py +++ b/ursina/prefabs/frame_animation_3d.py @@ -42,9 +42,11 @@ def start(self): def pause(self): self.sequence.pause() + self.is_playing = False def resume(self): self.sequence.resume() + self.is_playing = True def finish(self): self.sequence.finish()