ExtendRealityLtd / Tilia.Interactions.Interactables.Unity

A variety of mechanisms for interacting between interactors and interactables in a spatial scene for the Unity software
MIT License
9 stars 3 forks source link

fix(Interactions): prepare kinematic state changes on collision tracker #78

Closed thestonefox closed 3 years ago

thestonefox commented 3 years ago

The CollisionTracker on the Interactor is now pre-warned of kinematic state changes of any trigger collider that the Interactor is touching and this then works inline with the new CollisionTracker changes that allow the TriggerExit/Enter to be ignored in Unity 2019.3 and above when kinematic changes are made to a rigidbody.

This is to ensure the changes introduced by Unity 2019.3 do not break the events on the Interactable because now changing the kinematic state on a Rigidbody will now cause a collsiion exit and collision enter to occur, even though the colliding objects have not stopped colliding. This is due to a change in the PhysX 4.11 system and Unity did not counter this change and introduced a non-documented breaking change.

ExtendReality-Bot commented 3 years ago

:tada: This PR is included in version 1.15.10 :tada:

The release is available on:

Your semantic-release bot :package::rocket: