[RESOLVED]Wait SpatialTransform animation to complete

Hello jME forum. This is my first post. I'd like to thanks jME staff for creating such an efficient tool for developing 3D apps like jME is. :wink:



Now, here is a little question I have, as I'm quite new to jME:



Lets say I have a SpatialTransform that plays a little animation for only one time on my scene objects.



How can I detect in the code when a SpatialTransform has ended its duty?



And



How can I wait SpatialTransform to end its duty before I continue running my program?



I guess this has something to do with threads…



Thanks in advance