Hacker News new | past | comments | ask | show | jobs | submit login

Physics and game logic should always run at fixed intervals and not depend on the time available. Otherwise you may run into oscillations that can be observed e.g. in games with ragdoll physics where bodies suddenly start to twitch due to such glitches. Thus, physics and logic should run at a fixed rate (e.g. 120 Hz) while graphics can run at whatever speed the machine can manage.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: