Funzione
Veloce
Cable:SetAngularMotorTwistAndSwingOrientationSettings
Sets which twist and swing angular orientation drives are enabled and the target orientation
Non ancora tradotto
Sintassi
my_cable:SetAngularMotorTwistAndSwingOrientationSettings(enable_drive_twist = false, enable_drive_swing = false, strength = 0, target = Rotator(0, 0, 0))
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
enable_drive_twist
facoltativo
|
boolean | false |
Enable the twist angular orientation drive |
enable_drive_swing
facoltativo
|
boolean | false |
Enable the swing angular orientation drive |
strength
facoltativo
|
float | 0 |
Positional strength for the drive (stiffness) |
target
facoltativo
|
Rotator | Rotator(0, 0, 0) |
Angular drive orientation target |