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 K2_FindFloor
(
FVector CapsuleLocation,
FFindFloorResult & FloorResult
) const
Sweeps a vertical trace to find the floor for the capsule at the given location. Will attempt to perch if ShouldComputePerchResult() returns true for the downward sweep result. No floor will be found if collision is disabled on the capsule!
Parameter |
Description |
---|---|
CapsuleLocation |
Location where the capsule sweep should originate |
FloorResult |
Result of the floor check |