USkeletalMeshComponent::AddImpulseToAllBodiesBelow

Add impulse to all single rigid bodies below. Good for one time instant burst.

Windows
MacOS
Linux

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

Syntax

virtual void AddImpulseToAllBodiesBelow
(
    FVector Impulse,
    FName BoneName,
    bool bVelChange,
    bool bIncludeSelf
)

Remarks

Add impulse to all single rigid bodies below. Good for one time instant burst.

Parameters

Parameter

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss