HOME | DD
Published: 2012-03-20 08:38:54 +0000 UTC; Views: 1679; Favourites: 12; Downloads: 21
Redirect to original
Description
Hey everyoneJust testing out spring physics. Choose a shape and change the jelly factors.
Click and drag shape nodes(black dots) around for springyness.
Strangeness: You have to cycle through all shape options before being able to choose properly??
The blob constantly rotates.
The giant box thing enjoys collapsing at every opportunity.
Enjoy/Comment
Related content
Comments: 8
JMIM [2013-03-20 10:49:33 +0000 UTC]
This is awesome! Could you point me to some source code examples or some mathematical documentation?
👍: 0 ⏩: 1
Twistedsnail In reply to JMIM [2013-03-24 00:52:57 +0000 UTC]
Here is the source code: [link]
It probably contains poor coding but still.
The main bits you want are the functions "Update" and "CalcSpring" in each of the shape's source files.
I don't remember reading up on this, I think I just played with a concept I had. I think most of the code is self explanatory but if you need clarification, just ask.
👍: 0 ⏩: 0
Twistedsnail In reply to XxGrimmysXcakexX96 [2012-03-28 07:40:20 +0000 UTC]
Thanks, its cool apart from the constant rotation.
👍: 0 ⏩: 1























