-
Notifications
You must be signed in to change notification settings - Fork 156
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
Utility to easily make "Cloth" out of an array of Particle bodies #6
Comments
if you find a way to make it work across the web worker and if its generic enough sure, why not. or, if you figure that it isn't, put all the generic bits in here and a second lib orchestrates it nicely. im super curious where this is going because i have little experience (next to zero) with cannon or physics libs but would be eager to learn |
Hi @nevernotsean, is there any progress on that matter? I try to get something similar working, but would much appreciate to have a look at your approach |
Hi @ThomasRutzer unfortunately no progress on this from me. A few months ago, attempts to create a mesh of particles within the webworker was not possible. I did have some success with composing instanced particle bodies with components (similar to the ragdoll example). I will try to post a sandbox if I can find the code. |
Hi, @nevernotsean thanks for your quick response – would be awesome if you could share a sandbox. Nevertheless, I'm not sure if this is out of the scope of this lib 🤔 |
From the Cloth demo from Cannon...
Setting up a piece of cloth involves setting up many Particle bodies and connecting each Particle to its adjacent neighbor. Would be cool to include a utility method that does this.
I have my old "useCloth.js" that I used for this demo I.
I could use some insight on where the heck I would put this. Does this belong in use-cannon at all?
The text was updated successfully, but these errors were encountered: