Instancing Character Animation To Particles

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 03 March 2011   #1
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 March 2011 at 03:16 PM.
 
Old 03 March 2011   #2
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 March 2011   #3
Thanks a lot... Will try this and tell you if i could do it...
 
Old 03 March 2011   #4
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 March 2011   #5
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 March 2011   #6
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



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 11:08 AM.


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