Marcin you are great,
I'll study it this evening as soon as I get back home.
really thank you
Alessandro
On Mon, Jul 6, 2009 at 4:54 PM, Marcin Majewski
wrote:
>
> Here's simple field that adds force to particles based on particle id. In
> this field I use only particle positions and velocities,
Here's simple field that adds force to particles based on particle id. In
this field I use only particle positions and velocities, but in similar way
you can obtain mass and other particle attributes using MPxFieldNode static
variables ( check torusField.py in devkit).
import sys
import maya.OpenM