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

Package: Unity Physics

-

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

  1. Resolution Note:

    Unity Physics and PhysX have different solvers so the results won't be the same.

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

Add comment

Log in to post comment