Funzione
Veloce
Cable:SetAngularLimits
Sets the Physics Angular Limits of this cable
Non ancora tradotto
Sintassi
my_cable:SetAngularLimits(swing_1_motion, swing_2_motion, twist_motion, swing_1_limit = 0, swing_2_limit = 0, twist_limit = 0)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
swing_1_motion
|
ConstraintMotion | — | Indicates whether the Swing1 limit is used |
swing_2_motion
|
ConstraintMotion | — | Indicates whether the Swing2 limit is used |
twist_motion
|
ConstraintMotion | — | Indicates whether the Twist limit is used |
swing_1_limit
facoltativo
|
float | 0 |
Angle of movement along the XY plane. This defines the first symmetric angle of the cone |
swing_2_limit
facoltativo
|
float | 0 |
Angle of movement along the XZ plane. This defines the second symmetric angle of the cone |
twist_limit
facoltativo
|
float | 0 |
Symmetric angle of roll along the X-axis |