PDA

View Full Version : Per Particle field attributes


_sarge
08-17-2008, 11:39 AM
Are there any ways to assign field attributes on a per particle basis?

For example, age affecting gravity direction. The older particle is, the bigger is X field direction.

Of course, we can affect position with expressions. But it's not a convinient way if we have more than one field, because with expressions we have position after all fields, not only one, were applied.

Any ideas?

ctp
08-17-2008, 11:56 AM
In the Maya help docs, search for: per-particle field attributes

the essential part you will find is:

Create a per-particle attribute of float or vector type on the particleShape with the name fieldName_attributeLongNameOnTheField or fieldName_attributeShortNameOnTheField. The type for the per-particle attribute you use must match the attribute type on the field.

For example, create airField1_magnitude to control the magnitude on airField1.

Cheers, C

CGTalk Moderation
08-17-2008, 11:56 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.