Function
Fast
Cable:SetAngularMotorTwistAndSwingOrientationSettings
Sets which twist and swing angular orientation drives are enabled and the target orientation
Syntax
my_cable:SetAngularMotorTwistAndSwingOrientationSettings(enable_drive_twist = false, enable_drive_swing = false, strength = 0, target = Rotator(0, 0, 0))
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
enable_drive_twist
optional
|
boolean | false |
Enable the twist angular orientation drive |
enable_drive_swing
optional
|
boolean | false |
Enable the swing angular orientation drive |
strength
optional
|
float | 0 |
Positional strength for the drive (stiffness) |
target
optional
|
Rotator | Rotator(0, 0, 0) |
Angular drive orientation target |