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.
How to control Fragture object
5633 1 0- Le Dung
- Member
- 3 posts
- Joined: Sept. 2013
- Offline
- Evgeniy Kovalenkov
- Member
- 1 posts
- Joined: Dec. 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;
}
* 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