Funzione statica
Rotator.Random
Generates a random rotation, with optional random roll
Non ancora tradotto
Sintassi
Rotator.Random(roll = false, min = -180, max = 180)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
roll
facoltativo
|
boolean | false |
Whether to use a random roll in the rotator, otherwise uses 0 for roll |
min
facoltativo
|
float | -180 |
Minimum value |
max
facoltativo
|
float | 180 |
Maximum value |
Valore restituito
- Rotator the random rotation