RBD fracture with random angular velocity

   5384   3   0
User Avatar
Member
250 posts
Joined: 2月 2013
Offline
Hi everyone,

Here is my little problem :
I made a simple voronoi fracture on a plane, so I have something like 50 pieces, and then I want them to fall with a random angular velocity. And that's it, nothing more

But of course I can't reach this effect. Does someone have a solution ?

Thanks a lot !
https://vimeo.com/obreadytom [vimeo.com]
User Avatar
Member
1769 posts
Joined: 12月 2006
Offline
hi!

write rand($OBJID)*200 in the fields, 200 is an arbitrary value, use whatever u like. Also add different numbers to $OBJID so the seeding of the rand function will be different.

rand($OBJID+12331.134)*200
rand($OBJID+323.5)*200
rand($OBJID+32334)*200

And use the standard rbd solver instead of bullet, bullet will explode.
daniel bukovec | senior fx td | weta digital
qLib -- http://qlab.github.io/qLib/ [qlab.github.io]
User Avatar
Member
250 posts
Joined: 2月 2013
Offline
Wow so simple ! Thanks a lot Buki !
https://vimeo.com/obreadytom [vimeo.com]
User Avatar
Member
250 posts
Joined: 2月 2013
Offline
Hey,

Is there a way to randomize the object ID ? Without changing the position of the pieces.
https://vimeo.com/obreadytom [vimeo.com]
  • Quick Links