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

AAEmu / AAEmu / 12301957802 / 1
2%
develop: 2%

Build:
DEFAULT BRANCH: develop
Ran 12 Dec 2024 05:53PM UTC
Files 1981
Run time 1min
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.1

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 %.

1746 of 83254 relevant lines covered (2.1%)

2.36 hits per line

Source Files on job 12301957802.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 12301957802
  • d7456b60 on github
  • Prev Job for on develop (#12300823082.1)
  • Next Job for on develop (#12328060774.1)
  • 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