Hi all, This is repost as I was getting no luck in the apprentice forum - this may be the proper place for it anyway…
I've got a quite simple RBD simulation with a bunch of spheres falling down. What I'm trying to do is have those spheres randomly duplicate and nicely push apart at some point in the simulation and I'm really quite stuck
tried something earlier yesterday and sort of got what I was after…but I've tried to duplicate it in a simpler scene and it just wont happen. This is becoming really frustrating. I've attached my scene and hopefully the notes will explain my method, but just in case it doesn't, basically I've set up a SOP node branch after the dopimport1 to take the simulation and randomly select one of the spheres and then feed those all back into the dopimport1 node. The file should make things easier to understand.
Hi ranxerox, Thanks for the reply…I made the changes you mentioned but I'm still not getting any results/ I've uploaded the file with the changes and for me ti doesn't work. Any idea what I'm doing wrong?
I suspect an RBD Packed Object DOP with a SOP Solver may simplify things for you. Attached is a simple example that uses a SOP Solver to create and remove objects during a Bullet simulation on a particular frame. You may be able to customise the SOP Solver network to accomplish your goal.
here's your file with some slight changes .. it seems to work here. Your “max_piece_number” code wasn't doing what you thought it was .. that's only executed once (detail).