Spawning 2 particules at a distance


#1

Hi all

I’m looking for a way of spawning 2 particles at a certain distance from each other so they are not spawned at the same position.

I’m making a cell division sim with box2 at the moment and my problem is once the cell has divided i spawn 2 more cells in its place and delete the parent. These cells are spawned in the same position so the physx world fires them apart causing a popping effect. I quite like this effect but the client is requesting something alittle smoother.
I have already fiddled with the collision tolerance to minimize the pop but the more i adjust it the more the cells interesect/pop.

Please see the video link below
http://youtu.be/UvIOiAD8UB8

If anyone has any suggestions i would be very grateful

Thanks
Edd


#2

I would also like to know how to do this.


#3

I don’t use pflow but i doubt there is a way to accomplish task without scripting in vanila pflow.
So here is sample scene - i use simple script op to add/subtract random vector to positions of each spawned pair of particles.
https://dl.dropbox.com/u/46208032/3ak_pflow_spawn2separatedParticles.max


#4

Thanks so much thats a perfect solution,
I’ll post the finished max file for you later this week.

Thanks
Edd


#5

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.