UPrimitiveComponent::AddAngularImpulseInDegrees

Add an angular impulse to a single rigid body. Good for one time instant burst.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Components/PrimitiveComponent.h"

Syntax

void AddAngularImpulseInDegrees
(
    FVector Impulse,
    FName BoneName,
    bool bVelChange
)

Remarks

Add an angular impulse to a single rigid body. Good for one time instant burst.

Parameters

Parameter

Description

AngularImpulse

Magnitude and direction of impulse to apply. Direction is axis of rotation.

BoneName

If a SkeletalMeshComponent, name of body to apply angular impulse to. 'None' indicates root body.

bVelChange

If true, the Strength is taken as a change in angular velocity instead of an impulse (ie. mass will have no effect).

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback