I’m struggling to understand how to apply transforms and rotations to particles through maxscript.
This thread helped alot in some ways, but I’m still not getting the particle behaviour that I’m looking for. http://forums.cgsociety.org/showthread.php?f=98&t=600307&highlight=pivot+orientation
I’m using the standard object chunks p-flow birth script. But, after resetting my object chunks’ x-forms, I want to rotate the object pivots to control the axis of rotation of the particles that are spawned at each object.
If I take a set of columns, for example, along one wall the x axis points away from the wall. I rotate the pivots of the columns on the perpendicular wall so their x-axis point away from the wall(90 degrees). I then want the particles spawned to start at a y rotation of 90 degrees… resulting in all the wall-particles to point out from the wall.
I’ve managed to get some control of the particles using a rotation, but they seem to be getting rotated around the pflow pivot.
in my birth script:
otm = ChunksArray[tt].objectTransform
piv = ChunksArray[tt].rotation
c_rot = chunksArray[tt].objectoffsetrot
rot = (inverse ((eulerangles 0 90 0) as quat))
nr = rotate otm rot
pCont.particleTM = nr
what is the difference between:
$.rotation
$.objectoffsetrot
$.transform.rotation
and how do they relate to :
pcont.particleTM.rotation
pcont.particleOrientation
I feel I’m getting close to understanding this, but given Eek’s admission that it took him 5 years to suss this out, I think I’m just kidding myself 
My head hurts.
Setting the rotation controller directly fixed the issue.