Custom event listener on a flowgraph with an animator doesn\'t play animation?

FlowCanvas Forums Support Custom event listener on a flowgraph with an animator doesn\'t play animation?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2656
    elvisish
    Participant

    I have an animator with an animation that makes the object move, and in the clip there is an event that should destroy the animation after it has finished. If I add a flowgraph with a custom event listener to the graph, the animation no longer runs, however the animation event curiously does send and the object destroys. As soon as I remove the event listener (complete remove, not just disconnect) the animation plays fine (it just obviously doesn’t destroy when the animation event occurs). If I set the target to multiple targets and don’t choose anything, the animation also plays (but it also doesn’t destroy the object, of course).

    #2661
    Gavalakis
    Keymaster

    Hello again and sorry for the late reply!

    I was able to replicate this and looking for a fix. A quick workaround is to check the “Apply Root Motion” option in the Animator Component. This will once again make the animation play. Please let me know if that is indeed the same in your case as well.
    Thank you!

    Join us on Discord: https://discord.gg/97q2Rjh

    #2744
    elvisish
    Participant

    I can’t unfortunately use Apply Root Motion as it doesn’t play the animation correctly, did you manage to find a fix for this?

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.