Jump to content

unique random particle orientation for copy


b1m2x3

Recommended Posts

Well, it's almost 3am, and i can't seem to get this to work.

I'm trying to get these grids that are copied to these particles to randomly orient themselves. They have no velocity, so i thought creating that attribute would work, and in details view with this, vx, vy, and vz are all different per particle, BUT they still all align themselves!

The scale is randomly affected... so why not vel/direction!?

Should i make an orientation attribute?

I've done this before, but it's late and i forget what i did :unsure:

post-3493-1210919219_thumb.png

Edited by b1m2x3
Link to comment
Share on other sites

Try it in the normals dude :)

Also, you might want to offset your rand($ID) a bit to like rand($ID+1.2323) etc. for each x y z normal. Else they're gonna be the same angle all the time.

GW

adding to the normals did the same thing as adding to velocity in this case.

offsetting the x y z did help a little though, but for the most part, they still line up.

Edited by b1m2x3
Link to comment
Share on other sites

adding to the normals did the same thing as adding to velocity in this case.

offsetting the x y z did help a little though, but for the most part, they still line up.

Set the components to [ rand($ID)-0.5, rand($ID+1)-0.5, rand($ID+2)-0.5]. You'll get a more random result.

Also, since the velocity vector that comes from pops has a length, you should override the parameter, not just add the rand to it.

But I would add the rand functions in the rotation fields at the copy sop multiplying it by 360 degrees: rand($ID+x)*360.

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...