Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / Jittering when timing the physics update

Years of Service
User Offline
Joined: 19th Apr 2007
Location: Roanoke, VA USA
Posted: 24th Aug 2007 06:49 Edited at: 24th Aug 2007 06:54
I've been working on making a little demo that attempts to hack some believable tank movement out of DarkPhysics. At first, I was relying on syncrate and vsync to throttle the physics so it maintains a steady rate of flow. But I figured I'd try to throw together a timer for updating the physics so that the game can run at much higher FPS without the entire thing speeding up.

I have it working, but the tank seems to jitter when it moves now. Here's my code, and attached is the code and media.

I fixed it... It was the camera that was jittering. Had to move it into the update as well.
Anyone have any clue what things are safe to have outside of the timed update?

Nothing I say is intended to be rude. My autism means that I do not know what is rude and what isn't rude. I apologize if I seem rude. It is not my intention.


Login to view attachments

Login to post a reply

Server time is: 2023-12-09 12:28:11
Your offset time is: 2023-12-09 12:28:11