Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/UPrimitiveComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PrimitiveComponent.h |
| Include | #include "Components/PrimitiveComponent.h" |
void SetAllPhysicsAngularVelocityInDegrees
&40;
const FVector & NewAngVel,
bool bAddToCurrent
&41;
Remarks
Set the angular velocity of all bodies in this component.
Parameters
| Name | Description |
|---|---|
| NewAngVel | New angular velocity to apply to physics, in degrees per second. |
| bAddToCurrent | If true, NewAngVel is added to the existing angular velocity of all bodies. |