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 SetPhysicsMaxAngularVelocityInDegrees
&40;
float NewMaxAngVel,
bool bAddToCurrent,
FName BoneName
&41;
Remarks
Set the maximum angular velocity of a single body.
Parameters
| Name | Description |
|---|---|
| NewMaxAngVel | New maximum angular velocity to apply to body, in degrees per second. |
| bAddToCurrent | If true, NewMaxAngVel is added to the existing maximum angular velocity of the body. |
| BoneName | If a SkeletalMeshComponent, name of body to modify maximum angular velocity of. 'None' indicates root body. |