kill particles on special objects

add attr collisionGeometryIndex to you particle shape and :   int $idx = particleShape2.collisionGeometryIndex; string $geoC[]; string $shape[]; if( $idx != -1 ) { string $geoC[] = `listConnections particleShape2.collisionGeometry[$idx]`; string $shape[] = `listConnections ( $geoC[0] + “.localGeometry” )`; print( $shape[0] + “\n”); if ($shape[0] == “killcube”) particleShape2.lifespanPP = 0; } download it here Continue reading kill particles on special objects

linux shell loop

$1 and $2 are inputs of the scripts “script minframe maxframe” bat file: #!/bin/bash x=$1 while [ $x -le $2 ] do mf_fade -i export_dust_mf.$x.mf -o export_dust_mf1.$x.mf -mc /studio/pib/shdw_fx/prod/sq1150/s193/fx/fx_dust/mc/fade.mc -only densit x=$(( $x + 1 )) done echo “yeah baby, all Done !!!!!” Continue reading linux shell loop