How to control Fragture object

   5605   1   0
User Avatar
Member
3 posts
Joined: 9月 2013
Offline
Hi!
Im going to sim a broken glass when it falling down. Every things look ok but some small pieces rotate and slide for a few seconds (Mass of RBD = 1940). Look them not realistic! so please help me to control Fragture in this project.
Thanks and best regards!
P/S: sorry for my English.

Attachments:
Glass Splitter.hip (198.5 KB)

User Avatar
Member
1 posts
Joined: 12月 2013
Offline
* lower collision padding in rbd object

* pop drag node (works with packed prims) with vex code: if (length(@v)<0.4) { airresist = 30; }

* pop wrangle:



if (length(@v) < 0.4) {
v@w *= 0.85; // rotational velocity drag
v@v *= 0.85; // velocity drag
}

if (length(@v) < 0.05 && @Frame > 50) {
i@active = 0;
}
  • Quick Links