Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | CakeLover |
I’m trying to override my animation player functions like this:
tool
extends AnimationPlayer
func seek (seconds:float,update:bool=false ) -> void:
print("seek =>",seconds)
.seek(seconds,update)
func advance (delta:float) -> void:
print("advanced=>",delta)
.advance(delta)
func play (name:String="", custom_blend:float=-1, custom_speed:float=1.0,from_end:bool=false) -> void:
print("play")
.play(name,custom_blend,custom_speed,from_end)
but I have no idea why it isn’t working, nothing is being printed when I test it
I’m particularly interested in seek()
, when I move the time bar/when the animation is playing, it should be simultaneously print the seconds
of where it is
Basically I’m trying to track the time bar