✔️ FIXED BUG: Debris Falling Too Slow

Eggheads talking about bytes and stuff.
Post Reply
User avatar
Krishty
Site Admin
Posts: 1364
Joined: 2022-Jan-09, 00:59

✔️ FIXED BUG: Debris Falling Too Slow

Post by Krishty »

After refactoring the physics classes, debris seem to fall in slow motion. Planes are unaffected, so most likely some guesswork regarding air resistance broke.
User avatar
Krishty
Site Admin
Posts: 1364
Joined: 2022-Jan-09, 00:59

Re: 🔴 OPEN BUG: Debris Falling Too Slow

Post by Krishty »

Aside from falling too slow, it seems like the debris are also too tiny. Maybe the transformation matrix broke when I removed TFX scaling from TFXplorer (i.e. the base unit changed from 8 ft to 1 m, making the debris considerably smaller)?
User avatar
Krishty
Site Admin
Posts: 1364
Joined: 2022-Jan-09, 00:59

Re: 🔴 OPEN BUG: Debris Falling Too Slow

Post by Krishty »

Okay; this will be fixed in the next version.
  • size was way too small (and heavy debris were incorrectly scaled smaller instead of larger)
  • speed and angular momentum were way off
  • momentum was not stored properly, thus making craters way too small
  • momentum was not properly transferred to particles when hitting buildings, thus making explosion effects too large
It’s looking much, much better now and it’s actually pretty fun to destroy an airplane just to let the debris rain down on a town, leaving craters and destroying buildings 😈

2023-10-24 debris craters 2.png
2023-10-24 debris craters 2.png (261.78 KiB) Viewed 1092 times
User avatar
Krishty
Site Admin
Posts: 1364
Joined: 2022-Jan-09, 00:59

Re: ✔️ FIXED BUG: Debris Falling Too Slow

Post by Krishty »

Post Reply