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 FVector HandleSlopeBoosting
&40;
const FVector & SlideResult,
const FVector & Delta,
const float Time,
const FVector & Normal,
const FHitResult & Hit
&41; const
- Limit the slide vector when falling if the resulting slide might boost the character faster upwards.
- New slide result.
Parameters
| Name |
Description |
| SlideResult |
Vector of movement for the slide (usually the result of ComputeSlideVector) |
| Delta |
Original attempted move |
| Time |
Amount of move to apply (between 0 and 1). |
| Normal |
Normal opposed to movement. Not necessarily equal to Hit.Normal (but usually is). |
| Hit |
HitResult of the move that resulted in the slide. |