Navigation
API > API/Plugins > API/Plugins/ApexDestruction > API/Plugins/ApexDestruction/UDestructibleComponent
- UPrimitiveComponent::AddImpulse()
- UDestructibleComponent::AddImpulse()
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 AddImpulse
&40;
FVector Impulse,
FName BoneName,
bool bVelChange
&41;
Remarks
Add an impulse to a single rigid body. Good for one time instant burst.
Parameters
Name | Description |
---|---|
Impulse | Magnitude and direction of impulse to apply. |
BoneName | If a SkeletalMeshComponent, name of body to apply impulse to. 'None' indicates root body. |
bVelChange | If true, the Strength is taken as a change in velocity instead of an impulse (ie. mass will have no effect). |