How do I make time based movement

Started by
11 comments, last by _goat 18 years, 7 months ago
Select articles under resources above, then math and physics under programming, then vectors.
Keys to success: Ability, ambition and opportunity.
Advertisement
I thought that was vertlet integration that I was using?

Well, I guess you got me there. To be honest, I've never included the acceleration or forces in my code -- I just threw it in there to be complete. I only use velocity and position...and occasionally gravity. I thought you were referring to my method of integration as a whole.
Keep in mind that if you want the option to Replay the game (a la Age of Empires), where you can see all your units moving as you moved them when you just played, you're going to have to define a minimum time-step. This is to synchronise the input with the time, so that you get reliable replay, or something. I read about it here a few years ago.
[ search: google ][ programming: msdn | boost | opengl ][ languages: nihongo ]

This topic is closed to new replies.

Advertisement