as the title says I would like to play an animation of an object only once.
I know I could check the time passed after the animation started and stop it after a certain time passed,
or get the current frame of the animation and as soon as the mesh reaches a certain frame, stop the animation.
But I wanted to ask if there is a function instead of setFrameLoop wich plays the animation only once,
without having to check in every frame if the animation reached the end.
First of all, this two methods aren't that precise (if I have a slow pc), and secondly I don't want to check every frame, for every object if its animation reached the end
Thanks in advance and best regards
Ritti