Skip to content
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

Open
nevernotsean opened this issue Mar 4, 2020 · 4 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@nevernotsean
Copy link
Contributor

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?

@nevernotsean nevernotsean added enhancement New feature or request help wanted Extra attention is needed question Further information is requested labels Mar 4, 2020
@nevernotsean nevernotsean self-assigned this Mar 4, 2020
@drcmda
Copy link
Member

drcmda commented Mar 4, 2020

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

@ThomasRutzer
Copy link

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

@nevernotsean
Copy link
Contributor Author

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.

@ThomasRutzer
Copy link

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 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants