1. Hello Guest! It's with a heavy heart that we must announce the removal of the Legacy GMC Archive. If you wish to save anything from it, now's the time! Please see this topic for more information.
    Dismiss Notice

Physics slowdown

Discussion in 'Programming' started by FeNniX, Dec 1, 2019.

  1. FeNniX

    FeNniX Member

    Joined:
    Jan 24, 2019
    Posts:
    25
    If fps of game falls below room_speed and game can't keep up, all physics objects movement slows down. Any way to prevent that?

    Without physics engine you can implement delta_time, but how to deal with physics engine?

    Any response will be appreciated.
     
  2. FeNniX

    FeNniX Member

    Joined:
    Jan 24, 2019
    Posts:
    25
    Same thing happens if I enable vsync and monitor refresh rate != room_speed
    if monitor refresh rate is lower than room_speed and vsync is enabled game slows down, if refresh rate is higher - game speeds up.
    I thought physics engine was not really tied to game speed. Any ideas how to fix?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice