1. #1
    RekluseKTM's Avatar Member
    Join Date
    Dec 2016
    Location
    Mineral City, Oh
    Posts
    47

    Path Follow Event

    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?
    Share this post

  2. #2
    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.
    Share this post

  3. #3
    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.
    Share this post

  4. #4
    RekluseKTM's Avatar Member
    Join Date
    Dec 2016
    Location
    Mineral City, Oh
    Posts
    47
    Thanks for taking a look. That snapping to the first node is what I was trying to prevent.
    Share this post

  5. #5
    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.


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