Jump to content

set particle attr , set initial state?


Recommended Posts

Hi

I looked through docs but didn't find anything about this.

That is how to set particle attribute on particular frame.

What i want to do is to "capture" particle position in attribute in first frame and use it later for some calculation.

For example maya can create initial state attributes which record values on particular frame and i can set, with scripting ,specific attribute initial state.

So two questions:

1.How to set custom attribute with values of another attribute in particular frame

2.How to set initial state on all attributes

Thanks

Link to comment
Share on other sites

Hi

I looked through docs but didn't find anything about this.

That is how to set particle attribute on particular frame.

What i want to do is to "capture" particle position in attribute in first frame and use it later for some calculation.

For example maya can create initial state attributes which record values on particular frame and i can set, with scripting ,specific attribute initial state.

So two questions:

1.How to set custom attribute with values of another attribute in particular frame

2.How to set initial state on all attributes

Thanks

To set a custom attribute to a particle, use the Attribute POP in your network. If I am not mistaken you can set the initial position using a birth group from your Source POP as long as you leave the preserve group checkbox unticked. With that unticked the particles will only be in the group for the frame that they are created on, so they should maintain the custom attribute for each particle, I think. Give it a try, or someone else can give you a more complete answer. I am still learning all of this myself, but that is my current understanding.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...