Birth Script Question

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 01 January 2011   #1
Birth Script Question

Hi guys! I was tasked to do a shot where a tornado rips the ceilings of a few houses and other stuff of the ground, so I was thinking about using a birth script to turn all the objects that need to interact with the tornado into particles and drive them with pflow.
As I'm not much of a scripter and (stupidly) have never taken the time to learn even the basics of maxScript. I followed one of bobo's tutorials found at http://www.scriptspot.com/bobo/ called "scripting custom chunks: the basics". The problem is that there is an offset where the particle gets created and the actual position of the "instanced" object.
Is there a way to get the center of the particle to be where the pivot of the object is? Any help is apreciated.



ps. I know some Mel script from my time working with maya, but maxScript looks totally diferent to me, however I'm familiar with some scripting concepts
 
Old 01 January 2011   #2
HI,
My friend, check whether the pivot of the individual meshes are at its centre or not. Seems like an issue of pivot to me...



Cheers!!!
__________________
My Vimeo Page
 
Old 01 January 2011   #3
Hi, thanks for the response.. It was actually very close to that, the pivot was centered but I skiped the part where you reset the xform... silly me.
thanks again my friend.. cheers
 
Old 01 January 2011   #4
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 06:47 AM.


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