Funzione
Moderato
Cable:SetForces
Set the forces the cable has applied (visuals only)
Non ancora tradotto
Sintassi
my_cable:SetForces(force, gravity_scale = 1)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
force
|
Vector | — | Force vector (world space) applied to all particles in cable. Default is Vector(0, 0, 0) |
gravity_scale
facoltativo
|
float | 1 |
Scaling applied to world gravity affecting this cable. Default is 1 |