108
you are viewing a single comment's thread
view the rest of the comments
[-] RightHandOfIkaros@lemmy.world 53 points 2 months ago

They used Time.deltatime in FixedUpdate.

As an experienced Unity developer, its clear that they have literally never developed anything in Unity, ever, and probably just skimmed the documentation.

This hurts me and its not even my code.

[-] Kelly@lemmy.world 19 points 2 months ago

They used Time.deltatime in FixedUpdate.

To be fair Unity knows this is going to happen and returns Time.fixedDeltaTime to keep things working properly.

[-] RightHandOfIkaros@lemmy.world 19 points 2 months ago

But they could stop that internal call and directly use Time.fixeddeltatime instead. Any person that knows how to use Unity knows to not mix the two. Which is my point.

Gearbox likely has experience with Unreal only, and have no idea what they're doin gwith Unity. Or at least, the team they put on RoR2.

[-] AlecSadler@sh.itjust.works 6 points 2 months ago

As a programmer but having never used Unity, what does this mean?

[-] ggppjj@lemmy.world 6 points 2 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 4 points 2 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@sh.itjust.works 5 points 2 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.

[-] AlecSadler@sh.itjust.works 3 points 2 months ago

Ouch. Maybe they need a Turbo button.

this post was submitted on 31 Aug 2024
108 points (99.1% liked)

Games

16743 readers
291 users here now

Video game news oriented community. No NanoUFO is not a bot :)

Posts.

  1. News oriented content (general reviews, previews or retrospectives allowed).
  2. Broad discussion posts (preferably not only about a specific game).
  3. No humor/memes etc..
  4. No affiliate links
  5. No advertising.
  6. No clickbait, editorialized, sensational titles. State the game in question in the title. No all caps.
  7. No self promotion.
  8. No duplicate posts, newer post will be deleted unless there is more discussion in one of the posts.
  9. No politics.

Comments.

  1. No personal attacks.
  2. Obey instance rules.
  3. No low effort comments(one or two words, emoji etc..)
  4. Please use spoiler tags for spoilers.

My goal is just to have a community where people can go and see what new game news is out for the day and comment on it.

Other communities:

Beehaw.org gaming

Lemmy.ml gaming

lemmy.ca pcgaming

founded 1 year ago
MODERATORS