Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine > API/Runtime/Engine/PhysicsEngine/UConstraintInstanceBlueprintLibr-
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintInstanceBlueprintLibrary.h |
| Include | #include "PhysicsEngine/ConstraintInstanceBlueprintLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/ConstraintInstanceBlueprintLibrary.cpp |
static void GetAngularVelocityDriveTwistAndSwing
&40;
FConstraintInstanceAccessor & Accessor,
bool & bOutEnableTwistDrive,
bool & bOutEnableSwingDrive
&41;
Remarks
Gets whether angular velocity twist and swing drive is enabled or not. Only relevant if the AngularDriveMode is set to Twist and Swing
Parameters
| Name | Description |
|---|---|
| Accessor | Constraint accessor to query |
| bOutEnableTwistDrive | Indicates whether the drive for the twist axis should be enabled. Only relevant if the AngularDriveMode is set to Twist and Swing |
| bOutEnableSwingDrive | Indicates whether the drive for the swing axis should be enabled. Only relevant if the AngularDriveMode is set to Twist and Swing |