Page 1 of 1
Timeline Trigger OnTrigger and OnCollision don't work.
Posted: Tue Mar 21, 2023 1:16 pm
by erorc78
The OnTriggerEnter/Exit and OnCollisionEnter/Exit are not triggering the timeline. OnUse, OnStart, OnEnable, etc. are all working and I tested another trigger component on the same gameobject and it worked, so I'm not sure what the problem is. All of the conditions and accepted tags/gameobjects are empty. Any ideas?
Re: Timeline Trigger OnTrigger and OnCollision don't work.
Posted: Tue Mar 21, 2023 1:50 pm
by Tony Li
If you're using 2D, make sure you've ticked the Welcome window's USE_PHYSICS2D checkbox.
Re: Timeline Trigger OnTrigger and OnCollision don't work.
Posted: Tue Mar 21, 2023 1:56 pm
by erorc78
Yep that was it. Thank you!
Re: Timeline Trigger OnTrigger and OnCollision don't work.
Posted: Tue Mar 21, 2023 5:17 pm
by Tony Li
Glad to help!