Jump to content

[SOLVED] how to init the ObjectMeshSkinned object's anim file?


photo

Recommended Posts

Posted
How to init the ObjectMeshSkinned object's anim file playing to the very first frame?

And the Tracker's init? 

 

Thank you  in advance!

Posted

Hi there!

 

Please take a look at samples/animation/animation_00 example, it'll show you to load animation and control its playback via setFrame function (https://developer.unigine.com/en/docs/1.0/scripting/library/objects/class.objectmeshskinned#setFrame_int_float_int_int_float).

 

You can change object's animation in tracker by using node.object.meshskinned.animation parameter yet you can't change animation frame in Tracker out of the box.

×
×
  • Create New...