Tu.Xiaomi Posted February 13, 2015 Share Posted February 13, 2015 How to init the ObjectMeshSkinned object's anim file playing to the very first frame? And the Tracker's init? Thank you in advance! Link to comment
unclebob Posted February 15, 2015 Share Posted February 15, 2015 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. Link to comment
Recommended Posts