Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine > API/Runtime/GeometryCollectionEngine/GeometryCollection > API/Runtime/GeometryCollectionEngine/GeometryCollection/UGeometryCollect-
- UPrimitiveComponent::AddImpulse()
- UGeometryCollectionComponent::AddImpulse()
References
| Module | GeometryCollectionEngine |
| Header | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionComponent.h |
| Include | #include "GeometryCollection/GeometryCollectionComponent.h" |
| Source | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Private/GeometryCollection/GeometryCollectionComponent.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). |