Random Sensor

See also

See the Python reference of this logic brick in SCA_RandomSensor.

The Random Sensor generates random pulses.

../../../../_images/logic-sensors-types-random-node.jpg

Random sensor.

Properties

See Sensor Common Options for common options.

Seed

This field to enter the initial seed for the random number algorithm.

Note

0 is not random, but is useful for testing and debugging purposes.

Note

If you run several times with the same Seed, the sequence of intervals you get will be the same for each run, although the intervals will be randomly distributed.

Example