POP

Attributes

use poppoint($PT,"attr",0) instead of point

P($TX, $TY, $TZ) position = P + v/$FPS

v($VX, $VY, $VZ)velocity = v + accel/$FPS

accel($AX, $AY, $AZ) = a <-----only this attribute doesn't take over previous step

life(life[0] -> $AGE(by Time), life[1] -> $LIFESPAN(life expectency (by Time)), $LIFE = $AGE/$LIFESPAN(ageNormalized data))

pstate(0 = normal, 2 = dead $DEAD=1, 4 = stopped $STOPPED=1, 8 = just hit $JUSTHIT=1, 16 = stuck $STUCK=1, 32768 = sliding $SLIDING = 1)

Force

accel += value/$FPS/$MASS

Drug

velocity -= value/$FPS/$MASS

float scale = 1.0/(airresist * tinc * length(v) + 1);

v *= scale;

Expressions

  • something once happen in life

int($AGE * $FPS * ch("../oversample")) == int(floor(rand($ID)*$FPS*$LIFESPAN) * ch("../oversample"))