Navigation
API > API/Plugins > API/Plugins/ApexDestruction > API/Plugins/ApexDestruction/UDestructibleComponent
- UPrimitiveComponent::AddRadialImpulse()
- UDestructibleComponent::AddRadialImpulse()
References
| Module | ApexDestruction |
| Header | /Engine/Plugins/Runtime/ApexDestruction/Source/ApexDestruction/Public/DestructibleComponent.h |
| Include | #include "DestructibleComponent.h" |
| Source | /Engine/Plugins/Runtime/ApexDestruction/Source/ApexDestruction/Private/DestructibleComponent.cpp |
virtual void AddRadialImpulse
&40;
FVector Origin,
float Radius,
float Strength,
ERadialImpulseFalloff Falloff,
bool bVelChange
&41;
Remarks
Add an impulse to all rigid bodies in this component, radiating out from the specified position.
Parameters
| Name | Description |
|---|---|
| Origin | Point of origin for the radial impulse blast, in world space |
| Radius | Size of radial impulse. Beyond this distance from Origin, there will be no affect. |
| Strength | Maximum strength of impulse applied to body. |
| Falloff | Allows you to control the strength of the impulse as a function of distance from Origin. |
| bVelChange | If true, the Strength is taken as a change in velocity instead of an impulse (ie. mass will have no effect). |