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 ApplyImpactPhysicsForces
(
const FHitResult & Impact,
const FVector & ImpactAcceleration,
const FVector & ImpactVelocity
)
Apply physics forces to the impacted component, if bEnablePhysicsInteraction is true.
Parameter |
Description |
---|---|
Impact |
HitResult that resulted in the impact |
ImpactAcceleration |
Acceleration of the character at the time of impact |
ImpactVelocity |
Velocity of the character at the time of impact |