- Home /
Question by
AlexanderTeaH · Jan 11, 2015 at 06:01 PM ·
triggerdetect
Detect a collider/trigger exiting a trigger quickly
Hi, this may seem obvious at first, but read on. What I have is an object that moves too fast for the OnTriggerExit event to detect. So I'm trying to figure out how to be able to detect the exit of my object all the time. I tried gameObject.collider2D.bounds.Contains but knowing whether the center of my object is in a trigger is not enough. I want to be able to know whether any part of my object left the trigger. Thanks in advance.
Comment
Your answer
