Hi all, i have an animation for vaulting over objects and have it set to a key press, the animation uses root motion and the player moves with it fine but the collison capsule blocks the player from jumping over the object… how would i go about making the capsule smaller for the vault animation then back to its original size when the animation stops?
You can probably try this bit of script that is in another post: Crawling? - Blueprint Visual Scripting - Unreal Engine Forums
It shows how to change the size of the capsule collision component to whatever you want.
unfortunately it doesnt help as the capsule is still colliding with the object so the animation just plays in place…
I’m assuming you’re using a Character and it’s Character Movement Component: the way you get vertical root motion to work, is to “Set Movement Mode” to flying while the animation is playing, then back to walking once it’s done. You’ll have to account for any animation interruptions (montage forced to stop before finishing because he was pushed back for example).