Hi,
I am learning to create Vex Pop to control the particle system the way i want. The problem is i dont know how to set position for particles in Vop network. The output node and global node in Vex builder network have the P parameter. Is it the position of a particle ? and how can we set it in the Vex builder network ? example i want to set the position of all particles emitted (0,3,0), how can i do that ?
About the velocity, i can manually change it with the V parameter of the global node and the output node. But cannot do the same thing for the P which i guess is the position of particles.
Any hint would be helpfull and appreciated
Thanks
Chuong
Basic Vex Pop question !
3343 2 1- mathmad
- Member
- 30 posts
- Joined: 7月 2009
- Offline
- omegan
- Member
- 134 posts
- Joined: 3月 2009
- Offline
Hey there. Yes in a VOP POP node the “P” is the particles position.
If you want the particles to always be born and stay at (0,3,0) you dont need to worry about the global “P”.. you can just put a constant vector node (or a parameter node set to vector, if u want to change it in pop context on the vop node) and plug the output of that node into “P” on the output node.. then your particles will always have the position P.
If thats the only thing u want to do then you can use the position pop too and just write in 0,3,0 instead of $TX,$TY,$TZ … And you could even have a group to only put particles there based on life, or if they just been born and so on.
Correct the “v” parameter is the velocity.. you can use the global “v” which is the current velocity of the particle, and do some operations on it (lets say add it with another vector) and then plug the sum to “v” in output
If you want the particles to always be born and stay at (0,3,0) you dont need to worry about the global “P”.. you can just put a constant vector node (or a parameter node set to vector, if u want to change it in pop context on the vop node) and plug the output of that node into “P” on the output node.. then your particles will always have the position P.
If thats the only thing u want to do then you can use the position pop too and just write in 0,3,0 instead of $TX,$TY,$TZ … And you could even have a group to only put particles there based on life, or if they just been born and so on.
Correct the “v” parameter is the velocity.. you can use the global “v” which is the current velocity of the particle, and do some operations on it (lets say add it with another vector) and then plug the sum to “v” in output
Magnus Pettersson
Lead Effects TD @ Storm studios
Lead Effects TD @ Storm studios
- mathmad
- Member
- 30 posts
- Joined: 7月 2009
- Offline
-
- Quick Links