Unity 5.2.0f3 Triggers Broken??
The function OnTriggerStay no longer works if it is parented to a Unity Car prefab. I have a system of triggers that detect if a car is taking damage that all use OnTriggerStay, and while this was fine in the previous version of Unity, now the trigger does not function while parented to the car. If I unparent it from the car it works again. Any ideas why? OnTriggerEnter still works but in my situation OnTriggerStay is much more useful. Is it a physics setting?
Answer by r_chevallier · Oct 07, 2015 at 02:13 AM
I ran into the same problem 1 day ago.
Here is the solution or work around that does work.
In any script attached to your parent Game Object put an empty OnTriggerStay function.
That's it.
Your answer
Follow this Question
Related Questions
Teleport using keypress (C#) 0 Answers
How to tell which trigger is detecting with OnTriggerEnter? 1 Answer
How to stop the Unity Skycar Car without ending up in reversing? 0 Answers
Detecting an object inside a trigger 2 Answers
car audio pitch help? 1 Answer