Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USkeletalMeshComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
| Include | #include "Components/SkeletalMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp |
virtual void AddImpulseToAllBodiesBelow
&40;
FVector Impulse,
FName BoneName,
bool bVelChange,
bool bIncludeSelf
&41;
Remarks
Add impulse to all single rigid bodies below. 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). |
| bIncludeSelf | If false, Force is only applied to bodies below but not given bone name. |