|08-14-2009, 11:30 PM||#1|
Join Date: Dec 2004
finding the position of particles bounding box
Is it possible to find out the centre position of the bounding box for a particle shape?
I have a swarm of particles moving all over the place using goals and i want to attach a volume axis field that will always sit in the "averaged" centre of the particles.
|08-15-2009, 12:22 AM||#2|
Technically an artistportfolio
Blue Sky Studios
New York, USA
This may help point you in the right direction.
So it has to be a runtime expression, because your particles are always moving.
Now to get the bounding box data you can run something like this:
then create an expression on your field like this:
Its fairly easy to set up from here, let us know how it goes.
Actually I just remembered another way to get the center:
Then follow the other steps described above.
my amazing tumblr
Last edited by Wick3dParticle : 08-15-2009 at 12:38 AM.
|08-15-2009, 01:06 AM||#4|
Lord of the posts
Join Date: Sep 2003
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.
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|