Mysterious Mixture

  • baizuo
    26th Feb 2012 Member 1 Permalink
    In density, SOAP > WATR > OIL
    Of course SOAP > OIL, but...

    image

    Working on 71.3 and 72 beta
  • Catelite
    26th Feb 2012 Former Staff 0 Permalink
    Problem? :3
  • therocketeer
    26th Feb 2012 Member 0 Permalink
    @baizuo (View Post)
    I think it looks cool.
  • eduardo
    26th Feb 2012 Member 0 Permalink
    This post has been removed by Sylvi: Actually post something.
  • zhuyifei
    25th Apr 2012 Member 0 Permalink
    Soap eats oil

  • MaravekZane
    25th Apr 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • tommig
    25th Apr 2012 Member 0 Permalink
    if ((r&0xFF) == PT_OIL)
    {
    float ax, ay;

    parts[i].vy -= 0.1f;

    parts[i].vy *= 0.5f;
    parts[i].vx *= 0.5f;

    ax = (parts[i].vx + parts[r>>8].vx)/2;
    ay = (parts[i].vy + parts[r>>8].vy)/2;

    parts[i].vx = ax;
    parts[i].vy = ay;
    parts[r>>8].vx = ax;
    parts[r>>8].vy = ay;
    }

    That what you're lookin' for?
    Basically, it means when soap comes into contact with oil, the soap particles upward velocity (vy) is set to go upwards. The speed is then averaged, and both particles given new velocities.
  • randalserrano
    26th Apr 2012 Member 0 Permalink
    Soap IRL actually neutralizes oil and makes it to where it breaks down. This looks exactly like what is going on in TPT.
  • billion57
    26th Apr 2012 Member 0 Permalink
    Except it's floating.
  • keperitan
    26th Apr 2012 Member 0 Permalink

    Just showing how you could use it to make a highly sensitive powder sensor.