Hello,

Sorry for a possible rookie question, but I've been ill for a while
and had to take a break from my studies. This has made me forget some
of even the simplest things :(.

I've had trouble trying to connect node outputs to the individual
particles position attribrute.
So using the circleNode for example to make a single particle travel
in a circle, how would you connect the nodes two outputs (x,z) to the
particles position?

The only way I can think about doing it is as follows...

       create a locator with 2 custom attrs. (x,z)
       connect the node o/p to the loc attrs.
       query the loc attrs, and place in varibles.
       query varibles and edit the particle position attr.

However, this causes a problem of having to create expressions to
constantly query the loc attrs and update the particles position per
frame.
It would be much simpler and by far quicker to have the node drive the
individual particle directly.

Does anyone know how this may be done?


Group member Paul Molodowitch was kind enough to suggest the following
to ammend individual particles to help me:
      particle('particleShape1', e=True, at='position', order=39,
vectorValue=(-0.7, 0.428757, -0.938712))


Kind regards.
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to