Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USkeletalMeshComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
| Include | #include "Components/SkeletalMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SkeletalMeshComponentPhysics.cpp |
void SetAngularLimits
&40;
FName InBoneName,
float Swing1LimitAngle,
float TwistLimitAngle,
float Swing2LimitAngle
&41;
Remarks
Sets the Angular Motion Ranges for a named constraint
Parameters
| Name | Description |
|---|---|
| InBoneName | Name of bone to adjust constraint ranges for |
| Swing1LimitAngle | Size of limit in degrees, 0 means locked, 180 means free |
| TwistLimitAngle | Size of limit in degrees, 0 means locked, 180 means free |
| Swing2LimitAngle | Size of limit in degrees, 0 means locked, 180 means free |