Navigation
API > API/Plugins > API/Plugins/ApexDestruction > API/Plugins/ApexDestruction/UDestructibleComponent
- UPrimitiveComponent::AddImpulseAtLocation()
- UDestructibleComponent::AddImpulseAtLocation()
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 AddImpulseAtLocation
&40;
FVector Impulse,
FVector Location,
FName BoneName
&41;
Remarks
Add an impulse to a single rigid body at a specific location.
Parameters
| Name | Description |
|---|---|
| Impulse | Magnitude and direction of impulse to apply. |
| Location | Point in world space to apply impulse at. |
| BoneName | If a SkeletalMeshComponent, name of bone to apply impulse to. 'None' indicates root body. |