Skip to content

Cloth simulation settings #54

Discussion options

You must be logged in to vote

You can try with a higher particle iterations.
It costs more process, but it can help.

gParticleSystem->setSolverIterationCounts(10, 1);
The particle system use 4 iterations by default.

You may also get a different result depending on your engine's update loop.
If your physx is updated to (1/60) and you compare with a (1/120) loop you can surely see a difference.
Maybe with the (1/120) loop you don't need to use a higher number of iterations.
Maybe the stiffness and spring values can help too, I just have test the demo quicly.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@sschirm
Comment options

sschirm Dec 2, 2022
Collaborator

Answer selected by sschirm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #53 on December 02, 2022 08:32.