How to Implement Cloth Simulation with PlayCanvas

We’re super-excited to announce some new experimental PlayCanvas technology that simulates cloth physics.

Read all about it here:

Can you help us spread the word on Twitter?

:smiley: :pray:

5 Likes

Ooh, nice feature!

That last image reminded me something…

4 Likes

:innocent:

5 Likes

Here’s a funny riff on the cloth tech we announced yesterday - The Emperor dancing to hip hop!

Here’s the demo:

And here’s @ray’s tweet!

2 Likes

He has the moves! That was refreshing :slight_smile: Thank you for making my day!

2 Likes

If one would want to test it in his own project, would patching the shader chunk as in the example suffice?

Pinging @ray :slight_smile:

@LeXXik - yes it should/could work in your own project if you add the money-patch,js script to patch the transform shader chunk and the cloth-sim.js script process your character - your character would also need vertex colors set up on it (as shown in the dev blog article posted by @will above).

3 Likes

Yep, got it, thank you, @ray!

I tried all this with my own model but I just get an error: Cannot read property ‘length’ of null from cloth-sim.js. Any ideas?