CGTalk > Software Specific Forums > Autodesk Maya > Maya Dynamics
To minimize the ads you see on this page create a CGTalk account and log in HERE
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 03-11-2011, 01:37 PM   #1
rishiinamdar
Frequenter
portfolio
Rishi Inamdar
Mumbai, India
 
Join Date: May 2008
Posts: 226
Help!!!Instancing Character Animation To Particles

Help!!!Instancing Character Animation To Particles

Hi,
I want to instance a character that jumps through the surface and lands on the surface to particles..
The particles will emit on a surface based on some texture...
It basically has to look like people jumping through the surface and forming a line or any other shape...
I know how to do the instancing and the emission..
My main question is - Every time a particle is born i want the instanced character to jump.
Right now since the jumping animation is in the initial frames the particles that are born after the jumping wont get the jumping animation.. They will get the landing animation or just a static character....
What i want is every time a particle is born it should take the animation from the first frame...
How could i do this....
Is there a set of expressions that can do this....
Please please reply....
Thanks in advance....

Last edited by rishiinamdar : 03-11-2011 at 03:16 PM.
 
Old 03-11-2011, 03:18 PM   #2
ginodauri
Know-it-All
breeder
fff, Serbia
 
Join Date: Oct 2007
Posts: 469
You need to make dupicate object of your character for every frame of animation.

Than this duplicated objects you put in instancer list.

Instacer should be set to cycle sequential.

Than in the instancer tab of particle object , you can set attribute "cycle start object".
 
Old 03-12-2011, 03:18 AM   #3
rishiinamdar
Frequenter
portfolio
Rishi Inamdar
Mumbai, India
 
Join Date: May 2008
Posts: 226
Thanks a lot... Will try this and tell you if i could do it...
 
Old 03-12-2011, 03:45 AM   #4
rishiinamdar
Frequenter
portfolio
Rishi Inamdar
Mumbai, India
 
Join Date: May 2008
Posts: 226
Quote:
Originally Posted by ginodauri
You need to make dupicate object of your character for every frame of animation.

Than this duplicated objects you put in instancer list.

Instacer should be set to cycle sequential.

Than in the instancer tab of particle object , you can set attribute "cycle start object".


Hi... I tried what you said...
I duplicated my animation at each frame...Instanced each object...
Set Instacer to cycle sequential... I set the cyclestartobject to age under instancer tab of particle object....
The instancer cycles through all objects but dosent stop... It keeps repeating the cycle
I want it to cycle once for each new particle and then stop after one cycle...
Cant seem to figure it out....
Hope you can help
Thank you...
 
Old 03-14-2011, 11:40 AM   #5
rishiinamdar
Frequenter
portfolio
Rishi Inamdar
Mumbai, India
 
Join Date: May 2008
Posts: 226
Hi ginodauri...I finally figured out how to do it...
I duplicated my animation at each frame and instanced it...
But instead of keeping cycle option under instancer tab to Sequential i kept it at None

I created a custom variable
particleShape1.incrementadd = 0; // This in creation //
particleShape1.incrementadd += 1; //// This in Runtime Before Dynamics //

In the instancer tab of particle object i plugged this variable in objectIndex and it worked as i wanted...

So thanks again for the help...
 
Old 03-14-2011, 11:40 AM   #6
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,481
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 08:46 AM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.