Navigation
API > API/Plugins > API/Plugins/ApexDestruction > API/Plugins/ApexDestruction/UDestructibleComponent
- UPrimitiveComponent::AddRadialForce()
- UDestructibleComponent::AddRadialForce()
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 AddRadialForce
&40;
FVector Origin,
float Radius,
float Strength,
ERadialImpulseFalloff Falloff,
bool bAccelChange
&41;
Remarks
Add a force to all bodies in this component, originating from the supplied world-space location.
Parameters
| Name | Description |
|---|---|
| Origin | Origin of force in world space. |
| Radius | Radius within which to apply the force. |
| Strength | Strength of force to apply. |
| Falloff | Allows you to control the strength of the force as a function of distance from Origin. |
| bAccelChange | If true, Strength is taken as a change in acceleration instead of a physical force (i.e. mass will have no effect). |