I'm using meshes of comparably small size for soft bodies, so I need to set the particleSpacing in NvFlexExtCreateSoftFromMesh() to small values around 0.01.
If I use a spacing below 0.012, the particle positions become NaN.
Also for higher spacings that produce correct particle positions, the particles' velocity at rest is around 10^-6, so they will move even when they shouldn't.
Is there a problem with small particle spacings in Flex or am I doing something wrong?
What causes the positions to be NaN?
I'm using meshes of comparably small size for soft bodies, so I need to set the
particleSpacing
inNvFlexExtCreateSoftFromMesh()
to small values around0.01
. If I use a spacing below0.012
, the particle positions becomeNaN
. Also for higher spacings that produce correct particle positions, the particles' velocity at rest is around10^-6
, so they will move even when they shouldn't. Is there a problem with small particle spacings in Flex or am I doing something wrong? What causes the positions to beNaN
?