Animation code, simplify code

Started by
10 comments, last by cozzie 10 years, 3 months ago

Modulo is the remainder of integer division, so it's going to loop through your 120.000 frames. 0 % 120.000 = 0; 50.000 % 120.000 = 50.000; 121.000 % 120.000 = 1.000; 1.200.001 % 120.000 = 1

Advertisement
Yep, I'm indeed from europe. Annoying to have to use comma's and dots situationally. In my projects (c++) dots versus comma's in excel etc in my day job.

Thanks L. Spiro, good to see that I've 'reproduced' the exampe correctly.
Everything all up in running now in my animation.

Crealysm game & engine development: http://www.crealysm.com

Looking for a passionate, disciplined and structured producer? PM me

This topic is closed to new replies.

Advertisement