Join or
3d forums home Resources for 3d artists


MAYA : moving a single particle


Goto page 1, 2  Next

3d Forum -> 3D Animation Talk 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
Reply
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
Reply
ctrl+a? Razz


drop007 Posted: May 23, 2006   Post subject:
3D forums Enthusiast


Joined: 19 Sep 2005
Posts: 55

Back to top
Reply
no Razz
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
Reply
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
Reply
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
Reply
yes
Smile
couldn't you just select it and move it? Razz
from the outliner

drop007 Posted: May 23, 2006   Post subject:
3D forums Enthusiast


Joined: 19 Sep 2005
Posts: 55

Back to top
Reply
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
Reply
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
Reply
h3ro: expressions is your friend =)

drop007 Posted: May 25, 2006   Post subject:
3D forums Enthusiast


Joined: 19 Sep 2005
Posts: 55

Back to top
Reply
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
Reply
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
Reply
how many particles you have ?

drop007 Posted: May 25, 2006   Post subject:
3D forums Enthusiast


Joined: 19 Sep 2005
Posts: 55

Back to top
Reply
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
Reply
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
Reply
I have to sett the particle possition for ca 2000 particles Sad
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
Reply
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
Reply
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
Reply
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
Reply
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
Reply
Ted, look like something in the way i need Smile
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
Reply
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
Reply
thanks a lot anyway Smile
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
Reply
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
Reply
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
Reply
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: May 17, 2012   Post subject:
3d forum sponsor


Joined: 09 Aug 2010
Posts: 1

Back to top

Reply to topic    3d Forum -> 3D Animation Talk Previous topic | Next topic
Goto page 1, 2  Next
Username:
Message body:
To Attach an Image to your post write the message then press the Go Advanced button. In the bottom of the advanced reply screen you will see an option to upload an image from your computer.

Confirmation code: Enter the code with CAPITAL LETTERS. There is no zero. Please add the result of 10-2*3= in front of the code.