heres a demo of the flipper i made
controls enter to use the flipper and arrow keys to move the camera
REM Project: flipper
REM Created: 5/3/2007 1:56:10 PM
REM
REM ***** Main Source File *****
REM
phy start
glass=1
phy make material glass,"glass"
phy set material static friction glass,0.1
phy set material dynamic friction glass,0.1
phy set material restitution glass,0.25
phy build material glass
make object box 1,100,20,10
phy make rigid body dynamic box 1,glass
phy set gravity 0,-100,-100
make object box 2,10,20,10:position object 2,30,0,20
phy make rigid body static box 2
make object box 3,10,20,10:position object 3,30,0,-20
phy make rigid body static box 3
phy make revolute joint 1, 1, 2
phy set revolute joint global anchor 1, 0, 50, 10, 0
phy set revolute joint global axis 1, 0, 0, 1, 0
phy set revolute joint motor 1, 0, 0, 0
phy build revolute joint 1
make object box 4,1000,1,1000:position object 4,0,-11,200
phy make rigid body static box 4,glass
make object sphere 5,30:position object 5,-40,6,500
phy make rigid body dynamic sphere 5
phy set rigid body mass 5,100
make object box 6,300,100,10:position object 6,0,0,550
phy make rigid body static box 6
make object box 7,10,100,1000:position object 7,140,0,0
phy make rigid body static box 7
make object box 8,10,100,1000:position object 8,-70,0,0
phy make rigid body static box 8
do
control camera using arrowkeys 0,2,2
if returnkey()=1 then phy set rigid body angular velocity 1, 0, 500, 0
phy update
loop
please visit my site at
http://www.freewebs.com/necro023/