Jump to content

[SOLVED] Specifying an animation frame precisely


photo

Recommended Posts

Posted

Hello,

 

I would like to read the world bone transformation of a single frame without getting any interpolation of neighbouring frames.
Assuming I would like to retrieve the bone-to-world matrix at the first frame in the .sanim file, do I have to specify 0 or 0.5 as time parameter for the setFrame() method? Both seem to be plausible for me.

 

Thanks,
 Helmut

 

Posted

You can specify integer frame time. In that case there is no interpolation between specified frames.

Posted

Thank you, btw. I guess the 'to' parameter in the setFrame() is exclusive, so that passing a 'time' equal to 'to' is mapped to 'from'.

×
×
  • Create New...