MAYA : moving a single particle
Goto page 1, 2 Next
| Previous topic | Next topic | |
|
|
|
|---|---|
| drop007 | Posted: May 23, 2006 Post subject: MAYA : moving a single particle |
| 3D forums Enthusiast Joined: 19 Sep 2005 Posts: 55 Back to top |
hi
does anyone have any ideas on how to move eg particleShape1.id[1] to eg 10 in Y? |
| Sid Conner | Posted: May 23, 2006 Post subject: |
| 3D forums member Joined: 14 Oct 2005 Posts: 41 Location: USA Back to top |
ctrl+a? |
| drop007 | Posted: May 23, 2006 Post subject: |
| 3D forums Enthusiast Joined: 19 Sep 2005 Posts: 55 Back to top |
no I want to just move the particle with id = 1 to the new position |
| Sid Conner | Posted: May 23, 2006 Post subject: |
| 3D forums member Joined: 14 Oct 2005 Posts: 41 Location: USA Back to top |
ah
heh I don't know think you have to move the emitter |
| drop007 | Posted: May 23, 2006 Post subject: |
| 3D forums Enthusiast Joined: 19 Sep 2005 Posts: 55 Back to top |
then i move all the particles |
| Sid Conner | Posted: May 23, 2006 Post subject: |
| 3D forums member Joined: 14 Oct 2005 Posts: 41 Location: USA Back to top |
yes
couldn't you just select it and move it? from the outliner |
| drop007 | Posted: May 23, 2006 Post subject: |
| 3D forums Enthusiast Joined: 19 Sep 2005 Posts: 55 Back to top |
nopp, cant move it in 3d space
I konw there is possible to do it using expression, I am just having a hard time moving just one. |
| Ted Town | Posted: May 24, 2006 Post subject: |
| 3D forums Enthusiast Joined: 10 Nov 2005 Posts: 75 Location: USA Back to top |
maybe in the componentEditor |
| Shawn | Posted: May 25, 2006 Post subject: |
| 3D forums Enthusiast Joined: 12 Dec 2005 Posts: 84 Location: USA Back to top |
h3ro: expressions is your friend =) |
| drop007 | Posted: May 25, 2006 Post subject: |
| 3D forums Enthusiast Joined: 19 Sep 2005 Posts: 55 Back to top |
i know, but sometimes people you like hate you...just like expressions:P |
| Shawn | Posted: May 25, 2006 Post subject: |
| 3D forums Enthusiast Joined: 12 Dec 2005 Posts: 84 Location: USA Back to top |
hmm
like... lemme se now something like: if particleID = 1{set translation or offset} as a per particle attribute |
| Ted Town | Posted: May 25, 2006 Post subject: |
| 3D forums Enthusiast Joined: 10 Nov 2005 Posts: 75 Location: USA Back to top |
how many particles you have ? |
| drop007 | Posted: May 25, 2006 Post subject: |
| 3D forums Enthusiast Joined: 19 Sep 2005 Posts: 55 Back to top |
a lot:P |
| Ted Town | Posted: May 25, 2006 Post subject: |
| 3D forums Enthusiast Joined: 10 Nov 2005 Posts: 75 Location: USA Back to top |
and that one is bothering you ?
maybe you can just kill it |
| drop007 | Posted: May 25, 2006 Post subject: |
| 3D forums Enthusiast Joined: 19 Sep 2005 Posts: 55 Back to top |
I have to sett the particle possition for ca 2000 particles I guess i can use the metod Shawn wrote in a loop? |
| Ted Town | Posted: May 25, 2006 Post subject: |
| 3D forums Enthusiast Joined: 10 Nov 2005 Posts: 75 Location: USA Back to top |
so you want to move all particles ?
or only that one with ID == 1 ? |
| Shawn | Posted: May 25, 2006 Post subject: |
| 3D forums Enthusiast Joined: 12 Dec 2005 Posts: 84 Location: USA Back to top |
thought you wanted to move those who was emitted from a certain emitter?
and that several emitters are connected to same partShape? create several emitters and make em emitt same particleShape? and then translate the emitters to the different vertexes? |
| drop007 | Posted: May 25, 2006 Post subject: |
| 3D forums Enthusiast Joined: 19 Sep 2005 Posts: 55 Back to top |
ok, this is what i try to do: I have lot of particles which do need to have the same position as the vertexes of a object (particleID1 = vertex1 and so on), but I only want this relationship in X and Z, not Y
the particles are beeing puched around, so i am trying to fix their postion with using expressions |
| Ted Town | Posted: May 25, 2006 Post subject: |
| 3D forums Enthusiast Joined: 10 Nov 2005 Posts: 75 Location: USA Back to top |
maybe you should make 2 particle systems, one fully goaled, and the other aligning the x and y to the particles of the goaled one, after dynamics
i mean one particlesystem fully goaled to the object |
| drop007 | Posted: May 25, 2006 Post subject: |
| 3D forums Enthusiast Joined: 19 Sep 2005 Posts: 55 Back to top |
Ted, look like something in the way i need so, then particleShape1.pos = particleShape2.pos? or will is still have to use if (id ==1) {stuff} |
| Ted Town | Posted: May 25, 2006 Post subject: |
| 3D forums Enthusiast Joined: 10 Nov 2005 Posts: 75 Location: USA Back to top |
no unfortunatelly it is more complex than that
at least concerning getting and setting the position unfortunatelly it has been a while since i needed such particle-expressions |
| drop007 | Posted: May 25, 2006 Post subject: |
| 3D forums Enthusiast Joined: 19 Sep 2005 Posts: 55 Back to top |
thanks a lot anyway just one more question, how can I use the data from a Xform command in a expression? |
| Ted Town | Posted: May 25, 2006 Post subject: |
| 3D forums Enthusiast Joined: 10 Nov 2005 Posts: 75 Location: USA Back to top |
have you checked the developer mel-area of the manual ?
there are mostly examples |
| drop007 | Posted: May 26, 2006 Post subject: |
| 3D forums Enthusiast Joined: 19 Sep 2005 Posts: 55 Back to top |
yes, but there are no examples of how to use it in an expression |
| Ted Town | Posted: May 26, 2006 Post subject: |
| 3D forums Enthusiast Joined: 10 Nov 2005 Posts: 75 Location: USA Back to top |
what are you interested in in particular ?
which flag ? there are 2 help lines about xform, you just have to supply the right values for the flags |
| Sponsor | Posted: February 10, 2012 Post subject: |
| 3d forum sponsor Joined: 09 Aug 2010 Posts: 1 Back to top |
|
| Previous topic | Next topic |
3d artists |
3d jobs |
Free Textures |
Photo References |
3d Gallery |
3d Tutorials |
Post a Job offer |
FAQ
Powered by phpBB | hosted by Royal Web Hosting | CG archive | Privacy policy
Powered by phpBB | hosted by Royal Web Hosting | CG archive | Privacy policy


