Announcement

Collapse
No announcement yet.

Pflow Array problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Pflow Array problem

    im trying to get some mesh into Pflow with this birth script i've found:

    ----
    on ChannelsUsed pCont do
    (
    pCont.useAge = true
    pCont.useTM = true
    pCont.useShape = true
    )

    on Init pCont do
    (
    global ChunksArray = $Box* as array
    )

    on Proceed pCont do
    (
    t = pCont.getTimeStart() as float

    if t < 0 do
    (
    NumChunks = ChunksArray.count

    for i = 1 to NumChunks do
    (
    pCont.AddParticle()
    pCont.particleIndex = pCont.NumParticles()
    pCont.particleAge = 0
    pCont.particleTM = ChunksArray[i].transform
    pCont.particleShape = ChunksArray[i].mesh
    )
    )
    )

    on Release pCont do
    (

    )

    ----


    but when the script spawns the particles, they all seem to have a random offset, allthou there seems to be no rotation.
    im trying this in max 2012.

    i tried allready to reset xform and center the pivots to the objects, but it just wont spawn right...

    help would be really apreciated

    thanks a lot for your coments
    best regards
    MathTheRender

    emoticom AG
    www.emoticom.ch

  • #2
    Strange. I take it you don't have any other operators in the event other than the birth script?

    Can you post a screen shot or better still, a max file?
    MDI Digital
    moonjam

    Comment


    • #3
      i sent you a privat mail with the download link for the max 2012 file.
      thanks for lookin' it trough!
      best regards
      MathTheRender

      emoticom AG
      www.emoticom.ch

      Comment

      Working...
      X