Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/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 bool StepUp
(
const FVector & GravDir,
const FVector & Delta,
const FHitResult & Hit,
FStepDownResult * OutStepDownResult
)
Remarks
Move up steps or slope. Does nothing and returns false if CanStepUp(Hit) returns false. true if the step up was successful.
Parameters
| Name | 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. |