Hi Johncro,
The scale behavior you're seeing is not a bug. Your custom properties operator in Event_002 is before your Shape operator, and your Shape operator is what's defining the particle's scale. So that's why your particles shrink back down at the end...because the TM they have saved doesn't have the same scale that you later apply to the particles.
The alignment issue may be a bug...I'll have to look into it a bit more.
06-03-2019, 05:00 AM
(This post was last modified: 06-03-2019, 05:01 AM by tyFlow.)
So I looked into this closer and it turns out the alignment isn't a bug.
The problem is this:
PhysX introduces both linear and angular momentum to particles. Linear momentum is assigned as velocity, angular momentum is assigned as spin.
When you do your particle switch (deactivate), the particles are no longer processed by the PhysX engine, but the vel/spin attributes are not cleared (which is desirable in most cases). In your case, the residual PhysX velocity on the deactivated particles is quickly overtaken by the Find Target velocity changes. However, nothing changes the residual spin values, which is what is skewing your rotations (because spin is integrated at the end of the time step).
So basically your particles are inheriting some PhysX angular velocity (spin) and then that spin is being integrated into the final particle transforms at the end of the time step, after the particles are perfectly aligned to their Find Target location, resulting in the offsets.
Easy fix: just add a Stop operator to the Find Target event, and stop the spin values. Or add a slow operator and slow the spin magnitude to zero over time.