Download

How to set the location of JUST my character's Mesh in the character BP event-graph?

Hi there, i’m having some trouble figuring this out. Basically, i’m making a running-slide mechanic, where my character plays a rootmotion animation of a slide, and the capsule of the character shrinks down to go under certain objects.

Thing is, the capsule shrinks both up AND down, so that means that to compensate, i have to move up the skeletal mesh component during the slide, otherwise it falls throught the floor.

My problem is, HOW do i move ONLY the mesh component, and not the entire character (which includes the capsule) in my event-graph? I can’t find any way to reference the location variable and there doesn’t seem to be any useful nodes.

Any ideas?