The problem with setting the per particle attribute was that is only affect the current frame in the simulation.. When a frame finishes computing, if the attribute was not set during that frame, it would revert back to its default. stopping any changes i had made to the PP attributes during the simulation.
IndexPP was the only attribute not affected because it is updated on every frame while attributes like aggression and isAlive may only be updates 5-6 times through a simulation.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.