Navigation
API > API/Plugins > API/Plugins/Mover
GroundMovementUtils: a collection of stateless static BP-accessible functions for a variety of ground movement-related operations
| Name | UGroundMovementUtils |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Mover/Source/Mover/Public/MoveLibrary/GroundMovementUtils.h |
| Include Path | #include "MoveLibrary/GroundMovementUtils.h" |
Syntax
UCLASS (MinimalAPI)
class UGroundMovementUtils : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UGroundMovementUtils
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool CanStepUpOnHitSurface
(
const FHitResult& Hit |
MoveLibrary/GroundMovementUtils.h |
|
|
static FProposedMove ComputeControlledGroundMove
(
const FGroundMoveParams& InParams |
Generate a new movement based on move/orientation intents and the prior state, constrained to the ground movement plane. | MoveLibrary/GroundMovementUtils.h |
|
static FVector ComputeDeflectedMoveOntoRamp
(
const FVector& OrigMoveDelta, |
Used to change a movement to be along a ramp's surface, typically to prevent slow movement when running up/down a ramp | MoveLibrary/GroundMovementUtils.h |
|
static float TestGroundedMoveAlongHitSurface
(
const FMovingComponentSet& MovingComps, |
Tests a potential movement along a walkable surface. | MoveLibrary/GroundMovementUtils.h |
|
static FVector TestMoveToAdjustToFloor
(
const FMovingComponentSet& MovingComps, |
Tests potential movement of a component up/down to adjust to a walkable floor. | MoveLibrary/GroundMovementUtils.h |
|
static bool TestMoveToStepOver
(
const FMovingComponentSet& MovingComps, |
Tests potential up-and-over movement of a component to overcome a blocking obstacle hit, such as moving up steps or slope. | MoveLibrary/GroundMovementUtils.h | |
static bool TryMoveToAdjustHeightAboveFloor
(
const FMovingComponentSet& MovingComps, |
Moves vertically to stay within range of the walkable floor. | MoveLibrary/GroundMovementUtils.h | |
static bool TryMoveToStepUp
(
const FMovingComponentSet& MovingComps, |
TODO: Refactor this API for fewer parameters. | MoveLibrary/GroundMovementUtils.h | |
static float TryWalkToSlideAlongSurface
(
const FMovingComponentSet& MovingComps, |
Attempts to move a component along a surface in the walking mode. | MoveLibrary/GroundMovementUtils.h |
|