Timeline Trigger OnTrigger and OnCollision don't work.

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
erorc78
Posts: 3
Joined: Mon Apr 18, 2022 3:30 pm

Timeline Trigger OnTrigger and OnCollision don't work.

Post 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?
User avatar
Tony Li
Posts: 22133
Joined: Thu Jul 18, 2013 1:27 pm

Re: Timeline Trigger OnTrigger and OnCollision don't work.

Post by Tony Li »

If you're using 2D, make sure you've ticked the Welcome window's USE_PHYSICS2D checkbox.
erorc78
Posts: 3
Joined: Mon Apr 18, 2022 3:30 pm

Re: Timeline Trigger OnTrigger and OnCollision don't work.

Post by erorc78 »

Yep that was it. Thank you!
User avatar
Tony Li
Posts: 22133
Joined: Thu Jul 18, 2013 1:27 pm

Re: Timeline Trigger OnTrigger and OnCollision don't work.

Post by Tony Li »

Glad to help!
Post Reply