Search Issue Tracker
Fixed
Fixed in 1.4.X - Physics
Votes
0
Found in [Package]
1.4.0-exp.2 - Physics
Issue ID
ECSB-1704
Regression
No
The depenetration velocity differs when comparing Unity Physics to PhysX
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/Intersection Test.unity” Scene
3. Enter the Play Mode
4. Observe the Sticks on the right and the sticks on the left
Expected result: Sticks on the left and right behave the same
Actual result: Sticks on the right get high velocity and fly away
Reproducible with: 1.3.14 (6000.1.0f1), 1.4.0-exp.2 (2022.3.62f1, 6000.0.50f1, 6000.1.4f1, 6000.2.0b3)
Reproducible on:
Play Mode
Windows Standalone Player
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- Discussions thread: https://discussions.unity.com/t/unity-physics-has-poor-handling-of-intersections-compared-with-physx-please-fix/1642250
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Create Node window cannot be resized or moved after maximizing and reopening it
- [Usability] Cannot toggle Scene checkboxes using TAB/Enter in Build Profiles’ > Open Scene List
- Installing HDRP package throws Shader Graph validation warning about Exposure node when installed in Universal 3D Template
- ShaderGraph “Create Node” menu’s resize icon overlaps with the menu's scrollbar
- ShaderGraph “Create Node” menu’s Search bar's typing cursor is barely visible since it's black on a dark background
Resolution Note:
Unity Physics and PhysX have different solvers so the results won't be the same.
Resolution Note (fix version 1.4.X - Physics):
Added: New maximum depenetration velocity properties in the Physics Step Authoring component allow controlling the maximum velocity with which intersecting rigid bodies separate. This can be useful in cases where contacts lead to deep intersections between colliders, consequently causing too aggressive, ejecting motions. The new Max Dynamic Depenetration Velocity and Max Static Depenetration Velocity properties control the maximum relative velocity that can be produced when separating intersecting dynamic rigid bodies, and the maximum relative velocity that can be produced when separating dynamic rigid bodies intersecting with static rigid bodies, respectively.