I have begun creating a cover system inside of UE4. . I use a line trace to check for a physics object when the user presses the cover button, if a object is within range it sets a variable to be true that plays a animation, problem is that when the animation plays the player character no longer collides with the object and instead clips through till the animation is complete. How can i prevent this? I need the animation to run faster/slower depending on distance to object as well as stoping at the point of collision with the cover object. Any help would be greatly appreciated. As seen here: .
My player script:
My anim event graph:
My anim graphs:
to transition out of anim, playcoveranim variable is setto false and the transition out checks that playercoveranim is not true.