I've been struggling with this for days. My original animation was a bit complex so I made a brand new animation with 2 states, each one with a timeline:
- Idle: Looping animation shows a green triangle that doesn't move.
- Hover: One shot animation that shows a red triangle spinning.
I have defined a Boolean input (isHover) and two transitions:
- From Idle to Hover with condition "isHover" = true
- From Hover to Idle with condition "isHover" = false
When I play the animation and trigger the input when the animation is in the Hover state the triangle changes to green and the Idle state is active in the state machine visualiser. However the green triangle is in whatever position the red triangle was instead of going back to the Idle animation position.
I want the animation to return to the original state with the first triangle in the default position, this should be easy because it seems basic but I've seriously tried a million different things and can't make it work so any help would be appreciated.
Asked in the forums about this as well
License
Viewing