Module |
|
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
(
const FVector & InVelocity,
float DeltaSeconds,
FStepDownResult * OutStepDownResult
)
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.
Parameter |
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. |