Birth Script Question

Become a member of the CGSociety

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

Thread Tools Display Modes
  01 January 2011
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 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
  01 January 2011
My friend, check whether the pivot of the individual meshes are at its centre or not. Seems like an issue of pivot to me...

My Vimeo Page
  01 January 2011
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
  01 January 2011
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
Society of Digital Artists

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

All times are GMT. The time now is 07:37 PM.

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