Hello
I am trying to create a chain of particles in random positions. I wanted to use the built-in random position and orientation but unfortunately, i am getting a biased generation of fibers hence i am using the custom factory tutorial (T6) and particle replacement tutorial (T1) as references and generating the particles by myself. Now I can generate the particles but when i generate the particles these are going into each other as you see in the image.

Could anyone please suggest to me how i can avoid the collision between the meta particles?
The login i am using to create the particle is as follows
I want to generate 10 particles at a height of 50e-6m i am picking 10 random points around the origin and computing the angle the random point makes with the origin. and then find the angle made by the normal vector to this point. This angle is being used to give the orientation in the xy plane. I am not giving the orientation in the z-axis as of now but i can change that. I am currently detecting collision between the fibers. I am not sure how i could avoid that because the two reference APIs don't know the position of other particles.