Random Actuator
See also
See the Python reference of this logic brick in SCA_RandomActuator
.
The Random Actuator creates a random value which can be stored in a property of the object.

Random Actuator
Properties
- Seed
Starting seed for random generator.
- Property
Property where to store the random value.
Distribution
Distributions from which to select the random value. The default entry of Boolean Constant gives either True or False, which is useful for test purposes.
Each distribution has one common property called: Property. This can be either a float, integer, or a boolean depending on the distribution type.
- Float Neg. Exp.
Distribution: Float Neg. Exp.
Values drop off exponentially with the specified half-life time.
- Half-Life Time
Half-life time.
- Float Normal
Distribution: Float Normal
Random numbers from a normal distribution.
- Mean
Mean of normal distribution.
- SD
Standard deviation of normal distribution.
- Float Uniform
Distribution: Float Uniform
Random values selected uniformly between a minimum (Min) and maximum (Max) values.
- Float Constant
Distribution: Float Constant
Returns a constant value specified in the Value field.
- Int Poisson
Distribution: Int Poisson
Random numbers from a Poisson distribution. The mean of the equation is defined by the Mean value.
- Int Uniform
Distribution: Int Uniform
Random values selected uniformly between a minimum (Min) and maximum (Max) values.
- Int Constant
Distribution: Int Constant
Returns a constant value specified by the Value field.
- Bool Bernoulli
Distribution: Bool Bernoulli
Returns a random distribution using the Bernoulli distribution with specified ratio of
TRUE
pulses. This ratio is calculated by the Chance value.- Bool Uniform
Distribution: Bool Uniform
A 50/50 chance of obtaining True/False.
- Bool Constant
Distribution: Bool Constant
Returns a constant value specified in the Value field, must be either
True
orFalse
.