I thought I should post this here as well as 20 liners with it being a DP demo and all, so I was just playing around in dark physics, and created this small demo, it shows just how amazing Dark Physics really is watch as the cloth realisticly floats around getting ripped up by anything that is strong enough to pass through it, and as the cubes realisticly float around just as they would in zero gravity (or hold space to turn on gravity).
Watch little fragments of cloth that were once part of the full cloth float around, and all in 3 lines! That is how amazing DP is, 3 lines!
Heres the code
Theres also an image attached, and for those of you that dont own DP you can download an exe
here
set display mode 1024,768,32 : phy start : autocam off : position camera 0,-8,-50 : make object cube 3,1 : phy make rigid body dynamic box 3 : phy set gravity 0,0,0 : phy make cloth 1 : phy set cloth tearing 1,1 : phy build cloth 1 : phy attach cloth to shape 1,3,1 : make object box 2,1000,0,1000 : color object 2,RGB(128,64,64) : move object down 2,10 : phy make rigid body static box 2 : for i=5 to 55 : make object cube i,1 : position object i,rnd(5),rnd(10),rnd(5) : color object i, RGB(rnd(255),rnd(255),rnd(255)) : phy make rigid body dynamic box i : next i : do : text 0,0,"press space to turn on gravity and relese to turn off" : text 0,20,"move around using arrow keys" : control camera using arrowkeys 0,0.5,1
if keystate(57)=1 then phy set gravity 0,-10,0 else phy set gravity 0,0,0
phy update : loop

Check out my site for the latest on my games.