I've added the spring physics, I've also added gravity and a repulsion force from the ground. I might add friction and collisions later but I'll leave it as is for now. I've updated the visuals to make it easier to comprehend what is going on, with the node spheres being smaller and the edges being visualized by lines. It took while of adjusting the values before I managed to get it to a stable position but it works now. At the moment the edges doesn't break, so my next step is going to be to make them breakable and then dropping the object from a height to see if it breaks.måndag 28 juni 2021
Update2
I've added the spring physics, I've also added gravity and a repulsion force from the ground. I might add friction and collisions later but I'll leave it as is for now. I've updated the visuals to make it easier to comprehend what is going on, with the node spheres being smaller and the edges being visualized by lines. It took while of adjusting the values before I managed to get it to a stable position but it works now. At the moment the edges doesn't break, so my next step is going to be to make them breakable and then dropping the object from a height to see if it breaks.
Prenumerera på:
Kommentarer till inlägget (Atom)
Inga kommentarer:
Skicka en kommentar