Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine > API/Runtime/Engine/PhysicsEngine/UPhysicsConstraintComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsConstraintComponent.h |
| Include | #include "PhysicsEngine/PhysicsConstraintComponent.h" |
void SetAngularOrientationDrive
&40;
bool bEnableSwingDrive,
bool bEnableTwistDrive
&41;
Remarks
Enables/Disables angular orientation drive. Only relevant if the AngularDriveMode is set to Twist and Swing
Parameters
| Name | Description |
|---|---|
| bEnableSwingDrive | Indicates whether the drive for the swing axis should be enabled. Only relevant if the AngularDriveMode is set to Twist and Swing |
| bEnableTwistDrive | Indicates whether the drive for the twist axis should be enabled. Only relevant if the AngularDriveMode is set to Twist and Swing |