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

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