Navigation
Unreal Engine C++ API Reference > 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 void ApplyImpactPhysicsForces
&40;
const FHitResult & Impact,
const FVector & ImpactAcceleration,
const FVector & ImpactVelocity
&41;
Remarks
Apply physics forces to the impacted component, if bEnablePhysicsInteraction is true.
Parameters
Name | 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 |