• ggppjj@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 months ago

    I’ve never used unity either, sounds like they used a property that means “variable time between frames” in a context that is expecting a constant.

    Almost sounds like they were setting up a “thing happens faster if your CPU is faster” type of logical bug that the engine is at least preventing internally.

    • gamermanh@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 months ago

      DeltaTime is the old “tie the physics to the framerrate” thing old console games did because they knew they’d be running at a certain frame rate

      When I was learning unity for a week it was literally lesson #2 in 3 different video lesson series NOT to use DeltaTime like that

      • AlecSadler
        link
        fedilink
        English
        arrow-up
        5
        ·
        4 months ago

        Oh god. This brings me back to QBASIC days and how I upgraded my computer and it broke all my programs because I was an idiot and controlled time delays using for-loops, lol.