Hello,
I have many pieces produced by the voronoi fracture. When simmed some tiny pieces are rotating forever and as if they were rounded. I want to fix them so they settle down as the other pieces and also not to roll like a ball. Any ideas friends?
How to fight rotating sim pieces?
2663 3 2- Emil
- Member
- 48 posts
- Joined: 9月 2016
- Offline
- toadstorm
- Member
- 384 posts
- Joined: 4月 2017
- Offline
Easiest way is to introduce some angular drag in a POP Wrangle by scaling the angular velocity attribute v@w. If you only want slower pieces to be dragged, you can always introduce a threshold so that the drag is only applied to slower-spinning pieces.
float spin = length(v@w); if(spin < ch("threshold")) { v@w *= 0.9; }
MOPs (Motion Operators for Houdini): http://www.motionoperators.com [www.motionoperators.com]
- mrCatfish
- Member
- 732 posts
- Joined: 12月 2006
- Offline
If you are using the Bullet SOP, there is a world scale parm somewhere. This scales up your sim and all forces, sims it, and then scales it back down. This often fixes the “tiny pieces never stopping” syndrome.
If you are not using the Bullet SOP, you will have to roll your own… meaning scale the sim 10x or 100x, plus all forces appropriately and then scale back down after sim.
If you are not using the Bullet SOP, you will have to roll your own… meaning scale the sim 10x or 100x, plus all forces appropriately and then scale back down after sim.
Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
CG Supervisor
Machine FX - Cinesite MTL
- Emil
- Member
- 48 posts
- Joined: 9月 2016
- Offline
-
- Quick Links