I’ve been experimenting with some custom Roblox soft-body physics and I’d like to share my results with you guys!
I wouldn’t say this is the best method, but this is the one I used to get my outcome.
Before we continue, I just want to emphasize this is not a tutorial!
Method
The way I went about creating the soft bodies is by creating 8 different vertices in the shape of a square and connecting each vertex with a spring, by doing this I got a rigid structure for me to use.
I then went about connecting all the corners with triangles to create the actual cube. I used a script that used RunService to render the triangles.
Wow! This is what people mean when they say taking Roblox to another level. You could make some cool stuff with this, like a bit of a fun showcase. I don’t know what game you’d use it in, but I’m sure it’d make a fun addition. Nice job!
Feedback:
I feel as though you could loosen the spring density to make it more jiggly, as it feels a bit tense, but it seems really really good at the moment.
I had to keep the springs tensioned so the shape wouldn’t collapse. But I’ll definitely attempt to loosen the springs as much as possible! Also, thank you for the feedback and the compliments
I did attempt this, but ropes, unfortunately, can not hold up the weight. However, I did attempt to use them with cloth simulations. More Cloth Physics - YouTube
Haven’t tried it in Roblox yet but I know for a fact it’s how many games fake soft-body physics.
Real soft bodies are very slow and CPU intensive to simulate so a lot of games typically just use a simple 3D model with several bones to stretch/deform parts of the model and attach physics to it.
It’s essentially just a ragdoll but with loose and elastic joints.