• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

AAEmu / AAEmu / 16008306781

01 Jul 2025 07:23PM UTC coverage: 2.278% (-0.03%) from 2.308%
16008306781

push

github

web-flow
[Game] Improves physics engine with Jitter2 upgrade and introduce lazy loading for terrain (#1253)

* [Game] Added lazy terrain loading

- Added option to allow loading heightmap data on-demand only be disabling pre-loading the entire world.

* [Game] Split up heightmap data into per cell data

- Removed the global ushort array for the world into smaller per cell arrays. This allows better lazy loading of the heightmaps.

* [Game] Upgrade to Jitter2

Co-authored-by: NLObP

- Moved to JitterPhysics2 for the boats
- Added on-demand loading for the physics engine
- Cleaned some code and added more comments

* [Game] WIP Physics

- Experimental changes to physics

* [Game] Better shudown

- Added checks to AI where it will be less likely to act upon non-existing Owners.
- Added despawns when shutting down
- Added a `AIManager.Instance.Stop()` to the shutdown process.

* [Game] Tweaks to boat physics

- Changed code so the Physics can handle proper delta times and changed it so TPS can be dynamic.
- Acceleration and deceleration feel better now.

Note:
- Turn speed has not been modified/updated yet and is way too fast.
- Reversing is still applying immediate breaking.

* [Game] More tweaks to boat physics

- More adjustments to speed and turn speed

* [Game] Add Configuration for Physics TPS

- Added options to `world.json` to set a `TargetPhysicsTps` value (25 by default)
- Added more timing info when spawning to get a better idea of how long it takes for the server to start.

* [Test] Updated code so the test can run

* [Game] Tweaking more values

- Fixes the actual move speed of ships to be more correct. It's not the correct way to fix it, but it'll have to do.

* [Game] Rebased onto develop and Jitter2 version update

* [Game] Fixed rivers

- Fixed the code where it wasn't doing checks anymore for anything other than the ocean.
- Restored flow direction (although not entirely correct)

* [Game] Tweaked the code for handling river flows

Last one for t... (continued)

473 of 26293 branches covered (1.8%)

Branch coverage included in aggregate %.

0 of 867 new or added lines in 22 files covered. (0.0%)

34 existing lines in 6 files now uncovered.

2125 of 87736 relevant lines covered (2.42%)

2.38 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/AAEmu.Game/Utils/NumericExtensions.cs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc