Custom Movement Mode Creation

c.longmire42
Fri, 06 Mar 2015 01:27:10 +0000
Character & Animation

Hey everyone,

Iv’e been trying to figure out how to make my own custom movement modes in Blueprint, but their isn’t much documentation on how to do so, and I’m still not entirely sure what they actually are or how to use them. Im using UE4’s built in movement component right now, which is very nice, and has a few default modes like flying/falling/and swimming. What Id like to be able to do is make my own movement modes such as strafing, climbing, etc, and have separate movement logic for each one.

For example: Upon switching to a strafing movement mode, the character faces the camera direction and moves slowly. Or, upon switching to a climbing movement mode, the character faces a wall/moves up and down while rotation is locked…

Now I know I can modify the values of the default movement component (such as walk speed and orient rotation to movement) in-game by pressing buttons and so on, (which is what I’m doing now), But is it possible to store a bunch of movement logic in its own movement mode, and activate it on a button press or something? I know there is a function node for setting the characters movement mode, and it has various modes to select, but I’m just trying to figure out how to make and modify my own custom ones, If its even possible? Having multiple modes with different walk speeds, jump-heights, rotation-rates, and other character movement settings or custom movement logic would be ideal.

Id love to here what anyone has to say, and if anyone could explain what the custom modes are and how to make them, that would be great

Thanks in Advance!

12 posts - 7 participants