Hi!
I am trying to figure out how to make my character play an animation from the start when I walk through a trigger (game context: player walks into a trigger and “picks up” a device).
The animation is created via a sequencer and then I baked it, and I thought I could play the animation via montage, but there is an issue: if I play the animation, the character can look up and down, but the aim offset I have is disabled during the montage.
I dont want the player camera locked since its not a nice flow during gameplay, but for the life of me, I cant seem to figure out how to play the animation once via the anim blueprint. I tried using blend per bone with a blend value, but setting the blend value later on doesnt restart the animation. Could someone help me out here?
Pic: this was my current idea, but as I said, the layered bone doesnt restart the animation, how would I go about that?
I tried a lot of solutions via youtube videos and not all of them worked, except for one: using state machines.
I use the setup from above, but use a state machine with a bool and a blend value on the trigger, this works very well.
