Is there a way to essentially scrub an FBX animation forward and backwards?
I am trying to create a user control that would allow the end user to do that.
Thanks,
Brian
Is there a way to essentially scrub an FBX animation forward and backwards?
I am trying to create a user control that would allow the end user to do that.
Thanks,
Brian
Hi there Brian!
I made a simple demo of how you could use a scrollbar to scrub through an animation.
https://playcanvas.com/editor/scene/1277869
Is this what you are after?
Cheers!
Brilliant, yes spot on. Thank you kindly!
Hi there!
Well, the code would not look completely the same…
But the animComponentLayer has a property for the active state current time
and also a property for active state duration. Which you can use in the same kind of way of the example I uploaded before.