Search Issue Tracker

By Design

Votes

0

Found in

2019.3.0a9

2019.3.0b1

2020.1.0a1

Issue ID

1188953

Regression

Yes

OnTriggerExit/Enter methods are called when toggle isKinematic on/off

Physics

-

How to reproduce:
1. Open the attached "1188953-isKinematic-issue.zip" project
2. Open "SampleScene" Scene
3. Enter Play mode
4. Select "Rigidbody" GameObject
5. Select isKinematic property in the Inspector
6. Observe the Console logs

Expected results: The OnTriggerEnter/Exit callback does not get called and no messages are printed to the Console
Actual results: OnTriggerEnter/Exit messages are printed to the Console

Reproducible with: 2019.3.0a9, 2019.3.0b7, 2020.1.0a8
Not reproducible with: 2017.4.33f1, 2018.4.11f1, 2019.2.8f1, 2019.3.0a8

  1. Resolution Note:

    This is by design in the new version of PhysX 4.1. https://gameworksdocs.nvidia.com/PhysX/4.1/documentation/physxguide/Manual/MigrationTo40.html#core-physx

    "Switching a kinematic object to dynamic re-inserts the object into the broadphase, producing PxPairFlag::eNOTIFY_TOUCH_FOUND events instead of PxPairFlag::eNOTIFY_TOUCH_PERSISTS events."

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.