Duplicating geometry during a RBD simulation

   3415   10   2
User Avatar
Member
259 posts
Joined: March 2012
Offline
Hi all,
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 at some point in the simulation and I'm really quite stuck

So far I'm stuck on randomly duplicating the spheres, let alone the geometry side of things. I'm trying to set up an expression to assist with this, but nothing seems to be working.
As a side note, why the heck can't I see the results of expressions if the output is a string? It makes debugging really difficult.

Attachments:
RBD_multi_geo.hipnc (229.2 KB)

User Avatar
Member
259 posts
Joined: March 2012
Offline
There was a bracing error in some of my expressions…which I've fixed. Now geometry is duplicated correctly (a single sphere, at a random time).

Attachments:
RBD_multi_geo_bak20.hipnc (229.1 KB)

User Avatar
Member
259 posts
Joined: March 2012
Offline
Anybody?
User Avatar
Member
259 posts
Joined: March 2012
Offline
I tried something earlier today 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 things.

Attachments:
duplicate_cells.hipnc (239.9 KB)

User Avatar
Member
263 posts
Joined: Nov. 2013
Offline
I can't understand you well, did you mean RBD Fractured Object ?

Attachments:
rbd_multi_geo_bak20_210jr.hipnc (233.5 KB)

User Avatar
Member
263 posts
Joined: Nov. 2013
Offline
if you want emit rbd every 20 frames, you can use expression on Creation Frame

if($SF%20==0,$SF,0)
User Avatar
Member
259 posts
Joined: March 2012
Offline
I have a bunch of spheres, at the moment there are 5.
Randomly, I want the spheres to duplicate.

That's about as basic as I can describe it
User Avatar
Member
592 posts
Joined: May 2007
Offline
Here you go:

Attachments:
ee_rbd_random_duplicate.hip (235.2 KB)

User Avatar
Member
259 posts
Joined: March 2012
Offline
Eetu,
If we ever meet, I'm going to kiss you. You have been warned.
User Avatar
Member
80 posts
Joined: Aug. 2010
Offline
Anti-Distinctlyminty
Eetu,
If we ever meet, I'm going to kiss you. You have been warned.
hez mine
the xon can
User Avatar
Member
80 posts
Joined: Aug. 2010
Offline
eetu
Here you go:
oh my god,i spent two days trying to get this effect,didnt think of a solution as elegant as yours…
if you are ever in kenya,i will buy a beer…and a pet lion
the xon can
  • Quick Links