利用者:Sculptorjim/Game Engine/Logic/Actuators/Random

提供: wiki
移動先: 案内検索

Random Actuator

Sets a random value into a property of the object


See Actuator Common Options for common options.

Special Options:

Camera Actuator
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.
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
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
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
Float constant
Returns a constant value.
Property
Float property to receive value
Value
Value (Range 0.00 to +1.00)
Random Integer Poisson
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)
Random Integer Uniform
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)
Random Integer Constant
Int constant
Returns a constant value.
Property
Integer property to receive value
Value
Value (Range 0.00 to +1.00)


Random Bool Bernoulli
Bool Bernoulli
Returns a random distribution with specified ratio of TRUE pulses.
Property
Boolean property to receive value
Chance
Proportion of TRUE responses required.


Random Bool Uniform
Bool uniform
A 50/50 chance of obtaining True/False.
Property
Boolean property to receive value



Random Bool Constant
Bool constant
Returns a constant value.
Property
Boolean property to receive value
Value
Value (True or False)