Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > UCharacterMovementComponent
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/CharacterMovementComponent.h |
Include | #include "GameFramework/CharacterMovementComponent.h" |
Source | /Engine/Source/Runtime/Engine/Private/Components/CharacterMovementComponent.cpp |
virtual void MoveAlongFloor
&40;
const FVector & InVelocity,
float DeltaSeconds,
FStepDownResult &42; OutStepDownResult
&41;
Remarks
Move along the floor, using CurrentFloor and ComputeGroundMovementDelta() to get a movement direction. If a second walkable surface is hit, it will also be moved along using the same approach.
Parameters
Name | Description |
---|---|
InVelocity | Velocity of movement |
DeltaSeconds | Time over which movement occurs |
OutStepDownResult | [Out] If non-null, and a floor check is performed, this will be updated to reflect that result. |