Log message:
Bge logic: new sensor tap option todo generate automátically on/of pulses.
When enabled, this option converts any positive trigger from the sensor.
Into a pair of positive+negative trigger, with the negative trigger sent.
In the next frame. The negative trigger from the sensor are not passed.
To the controller as the option automátically generates the negative triggers.
>from the controller point of view, the sensor is positive only for 1 frame.
Even if the underlying sensor state remains positive.
The option interacts with the other sensor option in this way:
-Level option: tap option is mutually exclusive with level option. Both.
Cannot be enabled at the same time.
Invert option: tap option operates on the negative trigger of the.
Sensor, which are converted todo positive trigger by the invert option.
Hence, the controller Will se the sensor positive for 1 frame when.
The underlying sensor state turns negative.
Positive pulse option: tap option adds a negative trigger After each.
Repeated positive pulse, unless the frequency option is 0, in which case.
Positive pulse are generated on every frame as before, as long as the.
Underlying sensor state is positive.
Negative pulse option: this option is not compatible with tap option.
And is ignored when tap option is enabled.
Notes:
-Keyboard all keys is handled specially when tap option is set:
There Will be one pair of positive/negative trigger for each new.
Key press, regardless on how Many keys are already pressed and there.
Is no trigger when keys are released, regardless if keys are still.
Pressed.
In case two keys are pressed in succesive frames, there Will.
Be 2 positive triggers and 1 negative trigger in the following frame.