Forum

Counter: increment not interpreted correctly in wrap mode

Steps for reproduction:

  • create Counter Node,
  • set Minimum to 64
  • set Maximum to 127
  • set increment to 8
  • set default to 72
  • leave wrap border behaviour which is default
  • hit up until crossing maximum
  • hit down until crossing minimum
    Expected behaviour:
    128 is never reached
    the wrapping algorithm lands on multiples of 8 only.
    Experienced behaviour:
    128 is reached going upwards from 120, then 72
    127 is reached going downwards from 64, then 119
    63 is reached going downwards from 71

=> crossing the border in wrap mode with increments >1 ruins the numbers reached