Got bored so I decided to implement cloth from scratch using no built in unity functions aside from ray-casting for interaction. Right click to cut the cloth, left click to jostle it. I’ll be honest in saying that my ray-casting functions are poorly optimized and cause some serious slow downs, but aside from that the implementation is lightning fast.
Looks good. But is slow for me.
That’s was pretty good and no slow down in my PC,
and i must said in real game case people not going to use that many particles/node/or whatever that small sphere called
(and assuming those sphere were the vertex/vertices)
Have you tried to use GPU to compute those simulation?
Hmm! I’m just guessing here, but it looks like this might be adapted for hair as well …?
Raycasting can cost lot more than physic ball joint that would do the job also ?
Your cloth sim looks really good, and runs extremely smoothly on my machine. Do you have any plans to expand it so it works with other objects (being able to drape over objects, etc)? Unity’s built-in cloth has a lot of bugs, so I’ve been trying to find alternatives.
Good to see more cloth simulation plugins coming into the light. Very disappointed with Unity’s cloth solver as it is riddled with bugs.
I’m excited, some time trying to achieve something similar, more simpler than this.
here is my thread is not so accurate as yours but it’s what I want to accomplish, have performance issues, the FPS fell to the ground.
Would be great to be able to accomplish this
Hi gestalt77,
Could you share your code again ? because the link your provided is not working anymore.
thanks.