Agent(Stigmergy3D01 p5, Vec3D pos) {
		super(pos.x, pos.y, pos.z);
		this.p5 = p5;
		this.pos = pos;
		vel = new Vec3D(p5.random(-1, 1), p5.random(-1, 1), p5.random(-1, 1));
		loc = pos.copy();
		p5.manager.agents.add(this);

		// control trails
		dropNum = 0;
		tr = new Trail(p5, this);
		;

	}