Archived

This topic is now archived and is closed to further replies.

Zoot

FPS and movement

Recommended Posts

How do i make is my model is not deaccelerating super fast when the fps is high? My code now: m_flastforwardspeed *= 0.9f; Edited by - Zoot on February 17, 2002 9:13:13 AM

Share this post


Link to post
Share on other sites
Put your movement code in a timed if statement.

eg

      

#define Interval 30;
Int StartTime;

If (TimeGetTime()-StartTime>Interval) {


// Update movement



StartTime=TimeGetTime();
}



,Jay


Edited by - Jason Zelos on February 17, 2002 1:03:21 PM

Edited by - Jason Zelos on February 17, 2002 1:04:27 PM

Share this post


Link to post
Share on other sites