2. Then, attach a Collider to an object in your scene that you want to be the trigger for the timeline, and check the box that says Is Trigger. The Bolt Visual Scripting Component:
3. Next, add the Flow Machine component to the same object that your Collider resides in and click the New button save it as a macro into your project files. 4. Make an Object Variable and set the Type to Game Object. Drag your Timeline from the Hierarchy into the Variable's Value Field. 5. Drag that Variable you just created into the Flow Graph and use the Fuzzy Finder to add an On Trigger Enter and a Set Active Game Object (check the Boolean to True). 6. Hook all those nodes up the way you see in the picture, and that's it. Good job! Now when your player character-or-whatever runs into the collider, your timeline will trigger.
0 Comments
Your comment will be posted after it is approved.
Leave a Reply. |
DevLogFollow along as Super Juice constructs a Strategy RPG
Kris ChavezArtist, Author, Indy Game Designer, Happy Husband, Half Robot, Three Quarters Cat Archives
May 2022
Categories |