CJ Cat (Allen Chou)
unread,Jun 2, 2010, 9:42:26 AM6/2/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Stardust Particle Engine
Ah, this problem might be caused by the default priorities of the
actions.
RandomField has a default priority of 0, and VelocityField has -2.
This means VelocityFIeld is executed after RandomField because actions
are sorted according to their priorities.
I think it's more logical to give RandomField a lower priority than
VelocityField. I'll tweak their priorities in the next revision.
For now, you can manually adjust their priorities.
var rf:RandomField = new RandomField(2, 2);
rf.massless = true;
rf.priority = -3; //lower than -2
addAction(rf);
Thanks for spotting this problem.