Skip to content

fix(physics): preserve mesh state and share default material (+406/-298 src) - #3042

Open
luzhuang wants to merge 24 commits into
dev/2.0from
fix/physics-mesh-defaults
Open

luzhuang wants to merge 24 commits into
dev/2.0from
fix/physics-mesh-defaults

fix(physics): load matching PhysX runtime by default

0223d2a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 29, 2026 in 0s

86.00% (+0.32%) compared to 5669f96

View this Pull Request on Codecov

86.00% (+0.32%) compared to 5669f96

Details

Codecov Report

❌ Patch coverage is 97.52066% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.00%. Comparing base (5669f96) to head (0223d2a).
⚠️ Report is 16 commits behind head on dev/2.0.

Files with missing lines Patch % Lines
.../physics-physx/src/shape/PhysXMeshColliderShape.ts 91.48% 4 Missing ⚠️
...ckages/core/src/physics/shape/MeshColliderShape.ts 97.45% 3 Missing ⚠️
packages/core/src/physics/shape/ColliderShape.ts 95.91% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           dev/2.0    #3042      +/-   ##
===========================================
+ Coverage    85.68%   86.00%   +0.32%     
===========================================
  Files          811      815       +4     
  Lines        94730    95017     +287     
  Branches     11591    11802     +211     
===========================================
+ Hits         81168    81721     +553     
+ Misses       13470    13202     -268     
- Partials        92       94       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.