PhysX tip: pos vs vel iterations

PhysX tip: “position” iterations and “velocity” iterations are not equally important. My rule of thumb as a user: don’t bother increasing the velocity iters, leave it to 1. Focus on the position iter only. 4 for regular bodies and 16 or 32 for jointed objects give good results.

One Response to “PhysX tip: pos vs vel iterations”



  1. Danny Says:

    I always found the naming for these very awkward - in the end the only rule I could remember was that it would be the opposite one:

    Need more fixup for penetration (i.e. position changes without momentum) - that sounds like position iterations - so it’s actually velocity iters.

    Need better handling of the dynamics - that sounds like velocity iterations - so it’s actually position iters.

    By the way - with my own experiments (ages ago), and recollection of ancient discussions, it seems that whilst the momentumless fixup (velocity iters) is great for resolving penetration, it’s nowhere near as good at resolving joint errors. Do you see that now - and any idea why?

shopfr.org cialis