Help-mParticles Box2 - Avoid vibration?


#1

Hi there.

I’m simulating some particles with Box2 and I want to know how can I avoid vibration, those particles are glued with mPGlue and when things stop moving they keep vibrating.

How can I do a more stable simulation? (No matter if it is a bit slower and I have to bake it)

Help please, thanks in advance!

Cheers.


#2

You can try a few things:
[ul]
[li]The easiest is to simply use a Stop event.[/li][li]You can send them into a high bind count event too, some extreme values like 30 or 40 binds per particle and lock them in place.[/li][li]Increase the particle density[/li][li]Increase the accuracy by raising the subframe factor[/li][li]Use a data op to lock there speed and position[/li][/ul]Hope that helps :slight_smile:


#3

The thing is that it is a particle based rope simulation so I don’t want to stop them but to stabilize them so when the rope is still their componentes are not vibrating.

I will try increasing the number of particles (so more vertex for the spline) and increase the number of bindings, but i’m not usre if this may work because the particles are as this:

o-o-o-o-o

So if I increase the number of bindings, will it help at all?

Also increasing the subframe factor does not help, I tried and the scene becomes even more unstable.

The data op could be a good options so I can stops them based on speed, but I’m not sure how to use box#3 hehehe.

Thanks for the answer!!

Cheers.


#4

I did a tutorial ages ago. there is a scene file check it out, it is a pretty stable sim, or at least it was in 2008 :smiley:

http://www.orbaz.com/visualguide/particleflowtools/box2/PhysXGlue_Bridge.html