Jump to content

animation frame time


photo

Recommended Posts

Hi, animation duration time depends on the fps you play the animaton. You can get total duration time like this:

int num_frames; 	//Animation total frame count
float animation_fps; 	//Your animation playing speed

float total_time_in_seconds = float(num_frames) / animation_fps;

Hope this helps

Link to comment
×
×
  • Create New...