Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine > UPhysicsConstraintComponent
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsConstraintComponent.h |
Include | #include "PhysicsEngine/PhysicsConstraintComponent.h" |
Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysicsConstraintComponent.cpp |
void SetAngularSwing1Limit
&40;
EAngularConstraintMotion MotionType,
float Swing1LimitAngle
&41;
Remarks
Sets the Angular Swing1 Motion Type
Parameters
Name | Description |
---|---|
ConstraintType | New Constraint Type |
Swing1LimitAngle | Size of limit in degrees |