Timeline() does not trigger instantly(?)

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
dnblank12
Posts: 14
Joined: Wed Sep 21, 2022 5:46 am

Timeline() does not trigger instantly(?)

Post by dnblank12 »

Hello again :D , I'm having an issue with Timeline() that doesn't play the timeline after On Trigger Enter. Sometimes it plays if I do in and out of the box collider repeatedly.
Attachments
timeline.PNG
timeline.PNG (67.11 KiB) Viewed 199 times
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Timeline() does not trigger instantly(?)

Post by Tony Li »

Hi,

The issue will be in your Unity physics setup, not the Dialogue System Trigger, unless the Pizza quest is not in the Success state at the time. Keep an inspector on the GameObject while you play. When you enter the trigger collider, check if the Conditions section shows a red (Last Check: False) or green (Last Check: True). If you see either one, then Unity correctly sent the OnTriggerEnter message to the GameObject. If it's False, then the issue is with the Conditions. If you don't see either message, then Unity didn't detect a trigger collision. Check the setup of your colliders and rigidbodies.
dnblank12
Posts: 14
Joined: Wed Sep 21, 2022 5:46 am

Re: Timeline() does not trigger instantly(?)

Post by dnblank12 »

My bad Tony, I think its actually my fault, I didn't know that on Animator : Culling mode set to Cull Completely affects the Timeline. https://community.gamedev.tv/t/unity-ti ... ded/148854 Thanks anyway!
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: Timeline() does not trigger instantly(?)

Post by Tony Li »

No worries; I'm glad you got to the bottom of it!
Post Reply