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 bool StepUp
(
const FVector & GravDir,
const FVector & Delta,
const FHitResult & Hit,
struct UCharacterMovementComponent::FStepDownResult * OutStepDownResult
)
Move up steps or slope. Does nothing and returns false if CanStepUp(Hit) returns false.
true if the step up was successful.
Parameter |
Description |
---|---|
GravDir |
Gravity vector direction (assumed normalized or zero) |
Delta |
Requested move |
Hit |
[In] The hit before the step up. |
OutStepDownResult |
[Out] If non-null, a floor check will be performed if possible as part of the final step down, and it will be updated to reflect this result. |