| UMovementComponent::SlideAlongSurface()
|
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 float SlideAlongSurface
(
const FVector & Delta,
float Time,
const FVector & Normal,
FHitResult & Hit,
bool bHandleImpact
)
Custom version of SlideAlongSurface that handles different movement modes separately; namely during walking physics we might not want to slide up slopes.