piston extension length

  • Fusionftw
    21st Oct 2018 Member 1 Permalink

    Is there any way to get PSTN to extend 2px at a time?

    10C only makes it go 1px, 20C makes it go 3px, and the temperatures are rounded to the nearest 10 (so 15C or 18C won't work)!

  • LBPHacker
    21st Oct 2018 Developer 1 Permalink

    Have you tried setting one piston particle to 10C and another to 20C? (Hint: it works.)

     

    That's because piston arm length is first calculated for every particle of the piston (by that floor(celsius / 10) method you discovered) and then the lengths are summed up (and then 1 is subtracted). So a two-particle piston with one particle set to 10C and another to 20C will yield a 2 pixel long arm. So will a 0C-30C combination, but not a 15C-15C one.

    Edited 2 times by LBPHacker. Last: 21st Oct 2018
  • Fusionftw
    21st Oct 2018 Member 0 Permalink

    thanks!

  • QuanTech
    22nd Oct 2018 Member 0 Permalink

    wow, TIL