HOME | DD

Twistedsnail — Spring tests by-nc-nd

Published: 2012-03-20 08:38:54 +0000 UTC; Views: 1679; Favourites: 12; Downloads: 21
Redirect to original
Description Hey everyone

Just 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

TrueCynder [2012-06-18 02:40:24 +0000 UTC]

thats quiet fun XD

👍: 0 ⏩: 0

XxGrimmysXcakexX96 [2012-03-28 07:01:53 +0000 UTC]

I like the blob!

👍: 0 ⏩: 1

Twistedsnail In reply to XxGrimmysXcakexX96 [2012-03-28 07:40:20 +0000 UTC]

Thanks, its cool apart from the constant rotation.

👍: 0 ⏩: 1

XxGrimmysXcakexX96 In reply to Twistedsnail [2012-03-28 16:16:01 +0000 UTC]

lol

👍: 0 ⏩: 0

chi-u [2012-03-22 05:24:53 +0000 UTC]

Thats so awesome o.o

👍: 0 ⏩: 1

Twistedsnail In reply to chi-u [2012-03-22 07:32:40 +0000 UTC]

Thanks!

👍: 0 ⏩: 0