Here is what I have:
Code:
var radius = 5;
function remove_bees(PARTICLE *p)
{
  p->vel_x = actor.x - (radius * sin(p.lifespan)*cos(p.lifespan));
  p->vel_y = actor.y + (radius * sin(p.lifespan)*sin(p.lifespan));
  p->vel_z = radius * cos(p.lifespan);
  p.lifespan -= 10 * time_step;
}
 
function swarm_init(PARTICLE *p)
{
  p.lifespan = 360;
  p.alpha = 100;
  p.bmap = snow_map;
  p.size = 2;
  p.flags = MOVE;
  p.event = remove_bees;
}
 
function swarm()
{
  while(actor == NULL) {wait (1);}
  while (1)
  {
     effect(swarm_init, 1, vector(actor.x, actor.y, actor.z+45), normal);
     wait(3);
  }
}


But it looks like this:



Any ideas?


Errors are the engine of progress.

Version: A8 Commercial
OS: Win 7 64bit
Models: Cinema 4D