Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/UCharacterMovementComponent
- UMovementComponent::AddRadialImpulse()
- UCharacterMovementComponent::AddRadialImpulse()
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 AddRadialImpulse
&40;
const FVector & Origin,
float Radius,
float Strength,
enum ERadialImpulseFalloff Falloff,
bool bVelChange
&41;
Remarks
Adds impulse from radial force components. Intended to be overridden by subclasses; default implementation does nothing.
Parameters
| Name | Description |
|---|---|
| Origin | The origin of the force |
| Radius | The radius in which the force will be applied |
| Strength | The strength of the force |
| Falloff | The falloff from the force's origin |
| bVelChange | If true, the Strength is taken as a change in velocity instead of an impulse (ie. mass will have no effect). |