Spoke supporters don't work with modulo

Hi! Could you help me, please? In Blender 4.1 Modulo function was divided to truncated and floored ones. No one is working for the proper result when increasing the number of instances
https://drive.google.com/file/d/1LD-Y8UzxTTqtwAoP0PW2LfTOzv4SEu5m/view?usp=sharing
Here is the link for my blend file

1 love
Reply
  • Martin Bergwerf replied

    Hi Denis,

    As Index is an Integer and an Integer Modulo 2 is just 0 or 1, both Floored and Truncated give the same result.

    You need to have it set up right and then it works (with an even number of Gondolas):

    Modulo.png

    1 love
  • Martin Bergwerf replied

    Also, make sure your modulo 2 is actually modulo 2 and not (like in your file) 2.0000002, or 1.9999988.

    1 love
  • Martin Bergwerf replied


    Modulo_01.png

    1 love
  • Martin Bergwerf replied

    ANd of course, with a simple Math Node after the number of Gondolas, the number of Gondolas doesn't have to be even and also instances the correct number:

    Modulo_02.png

    1 love
  • Denis Anishchenko(Denis Anischenko) replied

    I love you! Thank you very much!)

    • 👍🏻
    1 love