Doc:2.6/Manual/Game Engine/Logic/Actuators/Random
< Doc:2.6 | Manual | Game Engine | Logic | Actuators
2012年10月1日 (月) 23:14時点におけるwiki>Sculptorjimによる版
Random Actuator
- Sets a random value into a property of the object
See Actuator Common Options for common options.
Special Options:
- Seed
- Starting seed for random generator (range 1 - 1000)
- Distribution
- Menu of 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.
- Float Neg. Exp.
- Values drop off exponentially with the specified half-life time.
- Property
- Float property to receive value
- Half-Life Time
- Half-life time (Range 0.00 -10000.00)
- Float normal
- Random numbers from a normal distribution.
- Property
- Float property to receive value
- Mean
- Mean of normal distribution (Range -10000.00 to +10000.00)
- SD
- Standard deviation of normal distribution (Range 0.00 to +10000.00)
- Float uniform
- Random values selected uniformly between maximum and minimum.
- Property
- Float property to receive value
- Min
- Minimum value (Range -10000.00 to +10000.00)
- Max
- Maximum value (Range -10000.00 to +10000.00)
- Float constant
- Returns a constant value.
- Property
- Float property to receive value
- Value
- Value (Range 0.00 to +1.00)
- Int Poisson
- Random numbers from a Poisson distribution.
- Property
- Integer property to receive value
- Mean
- Mean of Poisson distribution (Range 0.01 to +100.00)
- Int uniform
- Random values selected uniformly between maximum and minimum.
- Property
- Integer property to receive value
- Min
- Minimum value (Range -1000 to +1000)
- Max
- Maximum value (Range -1000 to +1000)
- Int constant
- Returns a constant value.
- Property
- Integer property to receive value
- Value
- Value (Range 0.00 to +1.00)
- Bool Bernoulli
- Returns a random distribution with specified ratio of TRUE pulses.
- Property
- Boolean property to receive value
- Chance
- Proportion of TRUE responses required.
- Bool uniform
- A 50/50 chance of obtaining True/False.
- Property
- Boolean property to receive value
- Bool constant
- Returns a constant value.
- Property
- Boolean property to receive value
- Value
- Value (True or False)