I’m trying to set up an animation graph, based on a bool variable condition of “true”, to move a bone forward a short distance on the x axis. I can do this successfully, but I want the bone to return to its default transform. That is where I’m running into an issue. Once the condition is “true”, I move the bone say +4 on the x axis…when the variable goes back “false”, the bone stays at +4. If I add in logic to counter this with a -4 on a false condition, my bone starts off at -4, because the condition starts out false. I could make this work if I had a way to increment up on a “true” condition and count the increments, but I haven’t found a way to do this in the animation graph.
I cannot for the life of me figure this one out. I’m sure it may be something simple, but I haven’t found a solution via Google, or forum searches.
Any help would be greatly appreciated!