Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | humbletang |
Hi there,
I have successfully modified a part of the rasterizer_scene_gles3.cpp
to allow for loading a converted lidar file that I have prepared, but as you can see in this video I’m not currently aware of how to make use of information from the AnimationPlayer
node.
What is the best way to get this information out of the animation player in a scene?
Thanks so much!
Have you tried using the current_animation_position
property from AnimationPlayer
?
Ertain | 2022-06-01 23:24
That looks very promising, thank you!
humbletang | 2022-06-01 23:26
I guess the thing that still has me stumped is how I’m supposed to get a reference to the AnimationPlayer
node in my scene. Is it even possible for the VisualServer
to query for a node like the animation player during it’s run up to rendering to the screen? I figure that’s the time when I would be interested in using the current_animation_position
property.
Guess I have some learning to do around the cpp equivalent of a godot script line like $AnimationPlayer.get_current_animation_position()
humbletang | 2022-06-02 23:29