Posted By: Jaxas
bulldozer track animation - 01/29/09 13:36
Can any one explain, how it's work? i study bulldozer.c code, and i understand all except that one line:
//anim track:
my.u += 15 * player.force_left * time_step * (my.skill1 - 6) + 15 * player.force_right * time_step * (1 - my.skill1 + 6);
What's that "my.u"? and how this line make track actually looks like they're moving?
//anim track:
my.u += 15 * player.force_left * time_step * (my.skill1 - 6) + 15 * player.force_right * time_step * (1 - my.skill1 + 6);
What's that "my.u"? and how this line make track actually looks like they're moving?