Search Issue Tracker

Duplicate

Votes

0

Found in

4.2.0f4

Issue ID

555751

Regression

No

OnTriggerEnter/OnTriggerExit problem with parent and child

Physics

-

To reproduce:
1. Open project "parentproblem"
2. Open scene "parentproblem"
3. Enter play mode
4. Move player controller into the cube on scene
5. When OnTriggerEnter is called the player controller is made child of the cube
6. Observe as OnTriggerEnter keeps getting called, while player is moving inside the cube
7. Observe as OnTriggerExit is NOT called when player leaves the trigger

(OnTriggerEnter/OnTriggerExit call counts can be inspected on the cube's "parentme" script)

Comments (1)

  1. shubhamswaraj2021

    Aug 22, 2020 11:20

    good one <a href="https://www.lyricsauto.com">lyricsauto</a>

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.