setting pflow particle positions

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
Prev Previous Post   Next Post Next
  02 February 2013
setting pflow particle positions

Hi! I am trying to manually set positions for my particles with this script


fn pcreate pos =(
pf = $'PF_Source 001'
pf.Event002.Birth_001.amount = pos.count
for i = 1 to pf.numParticles() do pf.setParticlePositionByID i pos[i]
)
part = pcreate (for o in objects collect o.pos)


When I collect the position array and step through the function manually, it works great. When I call the function from inside of the script it doesn't seem to work. Or if it does work, the particles are repositioning themselves before the viewport can redraw.

I am running this from regular maxscript not a pflow script operator.

Thanks, I will update if I find a solution.
__________________
www.davetyner.com
 
  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 08:23 AM.


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