-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Damping in XPBD #34
Comments
Thanks! Yes, I recognize supporting the constraint damping in XPBD would be an important future TODO. However, I'm not sure I can work on it shortly because many other higher-priority features are missing such as collisions. |
I have come up with the following code but something is still not right. The motion is dampened also when cloth rotates, similarly to viscous dampening: `DistanceConstraint spring = springsBuffer[id.x];
//pos at start of the sub-step
//predicted position during constraints solve //inv mass
Have a try if you can. Cheers |
Hi Yuki,
great repo, thanks!
I was wondering whether you could add a proper damping support to Distance Constraints as described in the original XPBD paper (Eq. 26)
Thanks!
The text was updated successfully, but these errors were encountered: