UPrimitiveComponent::SetAllPhysicsAngularVelocityInRadians

Set the angular velocity of all bodies in this component.

Windows
MacOS
Linux

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 SetAllPhysicsAngularVelocityInRadians
(
    const FVector & NewAngVel,
    bool bAddToCurrent
)

Remarks

Set the angular velocity of all bodies in this component.

Parameters

Parameter

Description

NewAngVel

New angular velocity to apply to physics, in radians per second.

bAddToCurrent

If true, NewAngVel is added to the existing angular velocity of all bodies.

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