Funzione
Veloce
Cable:SetLinearMotorPositionSettings
Sets which linear position drives are enabled and the target position
Non ancora tradotto
Sintassi
my_cable:SetLinearMotorPositionSettings(enable_drive_x = false, enable_drive_y = false, enable_drive_z = false, strength = 0, target = Vector(0, 0, 0))
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
enable_drive_x
facoltativo
|
boolean | false |
Enable the linear position drive on X |
enable_drive_y
facoltativo
|
boolean | false |
Enable the linear position drive on Y |
enable_drive_z
facoltativo
|
boolean | false |
Enable the linear position drive on Z |
strength
facoltativo
|
float | 0 |
Positional strength for the drive (stiffness) |
target
facoltativo
|
Vector | Vector(0, 0, 0) |
Target position |