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

AAEmu / AAEmu / 12301957802
2%

Build:
DEFAULT BRANCH: develop
Ran 12 Dec 2024 05:53PM UTC
Jobs 1
Files 1981
Run time 4min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Dec 2024 05:49PM UTC coverage: 1.998% (-0.001%) from 1.999%
12301957802

push

github

web-flow
[Game] Improved ship physics: (#1113)

Submerged Depth Calculation:
The method calculates submergedDepth to determine if the ship is on water or land. If submergedDepth is greater than zero, the ship is on water; otherwise, it is on land.

Physics Forces Application:
On Water: Buoyancy and drag forces are applied to simulate floating and water resistance, ensuring the ship behaves as expected in aquatic environments.
On Land: Ground friction is applied to slow down the ship. If the ship's velocity falls below a threshold, both linear and angular velocities are set to zero, effectively stopping the ship.

Control Management:
When on land and velocity is low, the ship's throttle and steering are reset, preventing any further movement.
The method checks for a driver; if present, it smooths throttle and steering inputs. If no driver is present, it resets these inputs.

Roll Correction:
A correction torque is applied to prevent the ship from rolling too much, which helps maintain stability when on land.

411 of 24681 branches covered (1.67%)

Branch coverage included in aggregate %.

0 of 237 new or added lines in 1 file covered. (0.0%)

8 existing lines in 1 file now uncovered.

1746 of 83254 relevant lines covered (2.1%)

2.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12301957802.1 12 Dec 2024 05:53PM UTC 0
2.0
GitHub Action Run
Source Files on build 12301957802
Detailed source file information is not available for this build.
  • Back to Repo
  • d7456b60 on github
  • Prev Build on develop (#12300823082)
  • Next Build on develop (#12328060774)
  • Delete
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