Help with a noise expression
Hi! I saw that everyone has been posting mel solutions for various expressions. I was wondering if anyone knew how to create an expression for making particles move randomly. I am in the process of creating particle effects for pollen, but I can't get the particles to move independently around the object. I looked into different expressions that could possibly work, but not one has been successful. I believe that this has to be done from the per particle array under a noise expression. If anyone could help it would be much appreciated!
|
Quote:
http://shyal.com and Shyal Beardsley's showreel https://www.youtube.com/watch?v=V9HTrE7xEnc |
Driving per particle position with mash points
Looking for a way for nparticles to be driven by a MASH network.
Specifically so that the looping signal node animation can be applied to the particles. Ideally, in the case of having 20 points, each MASH point would drive one of the 20 nParticles positions. Attempted to write a runtime expression: Code:
nParticleShape1.position = MASH.positions Attempted connecting the two attributes using python: Code:
cmds.connectAttr( 'MASH.positions', 'nParticleMashShape.position') And a warning: Connection from MASH.positions ---> nParticleMashShape.position was not allowed. You can only connect to a per-particle attribute from another per-particle attribute on the same shape or from an arrayMapper or particleAgeMapper node. This may cause subsequent connections to fail during duplication with the "-ic" flag. If this is just not possible, what would be a decent approach to have the nParticles animated positions loop seamlessly? |
This solved it :happy::
https://gfxhacks.com/driving-npartic...aya-with-mash/ |
HELP Maya, expression editor
I have zero Knowledge about coding. Its hard.
I need a favor, please. Im creating a simultaion in maya bifrost and I need the Emitter to stop *continous emission* (attribute in emitterprops) at a frame point of 26. The attribute is just a checkbox. how do i create an expression for this? Because keyframing doesn't help? please help me solve this issue. |
All times are GMT. The time now is 12:34 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018