Funzione
Veloce
Cable:SetLinearMotorVelocitySettings
Sets which linear velocity drives are enabled and the target velocity
Non ancora tradotto
Sintassi
my_cable:SetLinearMotorVelocitySettings(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 velocity drive on X |
enable_drive_y
facoltativo
|
boolean | false |
Enable the linear velocity drive on Y |
enable_drive_z
facoltativo
|
boolean | false |
Enable the linear velocity drive on Z |
strength
facoltativo
|
float | 0 |
Velocity strength of the drive (damping) |
target
facoltativo
|
Vector | Vector(0, 0, 0) |
Target velocity |