UPrimitiveComponent::AddImpulseAtLocation

Add an impulse to a single rigid body at a specific location.

Windows
MacOS
Linux

Override Hierarchy

UPrimitiveComponent::AddImpulseAtLocation()

UDestructibleComponent::AddImpulseAtLocation()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h

Include

#include "Components/PrimitiveComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/PrimitiveComponentPhysics.cpp

Syntax

virtual void AddImpulseAtLocation
(
    FVector Impulse,
    FVector Location,
    FName BoneName
)

Remarks

Add an impulse to a single rigid body at a specific location.

Parameters

Parameter

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.

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