PDA

View Full Version : goal UV position on poly object


devoy
01-17-2008, 10:11 PM
Is there a way to find out the position in xyz space of a poly goal?


I have particles with goalU and goalV if my goal object was nurbs I could easily
find out where the particles were being attracted to by

float $pos[]=`pointPosition nurbs.uv[goalU][goalV]`;

unfortunately I am not using nurbs so I want to find a way of doing the same thing with
a poly object

ctp
01-18-2008, 07:01 AM
Select the particle object, look in the Attribute Editor for the particleShape node, there's a subsection that says "Goal Weights and Objects". Open it and look for a button that says "Create goalWorldPosition0PP". This will create a perParticle attribute with the xyz position the goal point.

CGTalk Moderation
01-18-2008, 07:01 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.