[NEED HELP] Keyframing Expressions in Maya (2014)


#1

I’m making a scene in Maya where I have a burst of cards. I made a particle system and added some geometry (textured cards) as instances. To get the rotation I found an expression to make random rotation. My goal is to stop the particles in space and do a time freeze and move the camera. I used the “conserve” option to stop the cards in space but the expression rotation is still happening. I was wondering how to add keyframes to the expression so I can stop the rotation of the particles at a particular frame so every the particles completely freeze in space allowing me to animate the camera. Sorry for making this so long please help me out.


#2

Just add a custom Attribute to your particleSystem, eg particle.rotationSpeed and integrate it in your expression, something like:
particleShape.rotPP = << (frame * particle.rotationSpeed), ((frame+20) * particle.rotationSpeed), ((frame+40) * particle.rotationSpeed) >>;
Keyframing your “rotationSpeed-attribute” should now slowdown your particleRotation.


#3

Thank you for the reply :slight_smile: I did some tweaking to the animation and found that slowing down the rotation speed made a great effect and actually added to the time freeze. I’ll try adding the expressions you sent and see how it goes. thanks again @seedthomas :beer:


#4

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.