PDA

View Full Version : Path Follow Event



RekluseKTM
08-26-2019, 05:32 AM
Hello,

I am wanting to have a path follow event start out disabled but I can't figure out what to use to re-enable it. Can someone point me in the correct direction?

OLD_RockMan
08-26-2019, 08:20 PM
Have you tried a State Event. I havn't messed with path follow events yet so not sure exactly what to use. I do know a State Event will turn on/off just about everthing.

OLD_RockMan
08-26-2019, 09:59 PM
Ok did some testing. Use a "State Event" to turn on/off the "Curved Data Source" that controls the animation value. This will turn on/off the animation, although the object will still move to the first node.

RekluseKTM
08-30-2019, 04:33 AM
Thanks for taking a look. That snapping to the first node is what I was trying to prevent.

OLD_RockMan
08-31-2019, 04:05 AM
Ok then this is what you want.

Use a "Set Value Event" with value of "1" and the target is a "Variable Data Source" with value of "0" and use it as the value object for the "Enable" option in the "Path Follow Event" properties.
Have the impulse from the "State Event" that turns on the "Curved Data Source" for the animation value, go to the "Set Value Event.
Here is a picture so you can see how I did it. I used another trigger, state event (Set to Off), set value event (value of 0 for off) to stop everything.
https://milcqg.dm.files.1drv.com/y4m_Rs55xXPoJobQIP4qG9MUnSsEStQOJF8UhS_Lmzwk95Bmdl rVxbHISnB79XwCccHLJLALTJ8IToc4F2iW0eq73ldny7erinBT ocFuV1BwMcGFyZ5B2QR3HrZ5Ro7y4PC-n5bHhmI6Xv6z_E2gzVqFzPSO8-ZquAV16KGR8cZtI1aAp-Un2VG9nC0LQY2wHYg7ZiZUNXv6phjvV3_T-s_EQ?width=1920&height=1080&cropmode=none

As you can see, the left side enables the event, and the right side disables the event.