Hrrrrmmm, still nothing.
sync on
sync rate 60
autocam off
phy enable debug
phy start
make object box 1, 2000, 1, 200
position object 1, 0,-2,0
phy make rigid body static box 1
make object sphere 2, 5
position object 2, 0, 10, 0
phy make rigid body static sphere 2
make object box 3, 25, 1, 10
position object 3, -5, 15, 0
phy make rigid body dynamic box 3
phy make revolute joint 1, 2, 3, 0, 0, 1, 0, 15, 0
make object sphere 4,5
position object 4, -13, 17, 0
phy make rigid body dynamic sphere 4
phy set rigid body mass 4, 1
make object box 5, 1,10,10
position object 5,-17,19,0
phy make rigid body dynamic box 5
phy set rigid body mass 5, 0.1
make object box 6, 8,5,1
position object 6, -13.5,17,-5
phy make rigid body dynamic box 6
phy set rigid body mass 6, 0.1
make object box 7, 8,5,1
position object 7, -13.5,17,5
phy make rigid body dynamic box 7
phy set rigid body mass 7, 0.1
make object box 8, 1,5,10.5
position object 8,-9,17,0
phy make rigid body dynamic box 8
phy set rigid body mass 8, 0.1
make object box 9,10,1,10
position object 9,2,7,0
phy make rigid body dynamic box 9
phy make fixed joint 11, 9, 1
phy make fixed joint 3, 5, 3
phy make fixed joint 4, 6, 3
phy make fixed joint 5, 7, 3
phy make fixed joint 6, 8, 3
phy make fixed joint 7, 6, 5
phy make fixed joint 8, 6, 8
phy make fixed joint 9, 7, 5
phy make fixed joint 10, 7, 8
phy make revolute joint 12, 9, 2
phy set revolute joint global anchor 12, 0, 0, 10, 0
phy set revolute joint global axis 12, 0, 0, 1, 0
phy set revolute joint motor 12, 500, 10000, 1.0
phy build revolute joint 12
makeboxes()
`phy make fixed joint 2, 4, 3
`phy set joint break limits 2,1000,1000
make camera 1
position camera 1,0, 15, -40
`position camera 1,531, 5, -30
point camera 1,0,0,0
`point camera 1,533,5,0
set current camera 1
go=1
go1=1
go2=1
go3=1
`make camera 2
`position camera 2,-500,0,0
`point camera 2,-504,0,0
do
if spacekey()=1 and go=1
go=0
phy delete joint 2
wait 10
phy set rigid body linear velocity 3,0,-150,0
endif
if scancode()=19 and go1=1
go1=0
delete object 4
phy delete rigid body 4
delete object 3
phy delete rigid body 3
make object box 3, 25, 1, 10
position object 3, -5, 10, 0
phy make rigid body dynamic box 3
phy delete joint 1
phy make revolute joint 1, 2, 3, 0, 0, 1, 0, 10, 0
make object box 4, 5,5,5
position object 4, -13, 13, 0
phy make rigid body dynamic box 4
phy set rigid body mass 4, 10
phy delete joint 2
phy make fixed joint 2, 4, 3
`phy set joint break limits 2,100,100
endif
` if scancode()=2 and go2=1
` go2=0
` set current camera 1
` endif
` if scancode()=0 then go2=1
` if scancode()=3 and go3=1
` go3=0
` set current camera 2
`endif
`if scancode()=0 then go3=1
if scancode()=0 then go1=1
if spacekey()=0 then go=1
Point Camera 1, 0,0,0
If leftkey()=1
TURN CAMERA LEFT 1, 90
MOVE CAMERA 1, .5
TURN CAMERA RIGHT 1, 90
endif
If rightkey()=1
TURN CAMERA right 1, 90
MOVE CAMERA 1,.5
TURN CAMERA left 1, 90
endif
text 0,0,str$(object position x(4))
text 0,10,str$(object position y(4))
text 0,20,str$(object position z(4))
phy update
sync
loop
function makeboxes()
height=0
for boxes=50 to 55
make object box boxes,6,1,2
position object boxes,531,height,0
phy make rigid body dynamic box boxes
phy set rigid body mass boxes,.5
phy set rigid body linear velocity boxes,0,0.1,0
inc height,2
next boxes
for boxes=56 to 61
make object box boxes,6,1,2
position object boxes,531,height,0
phy make rigid body dynamic box boxes
phy set rigid body mass boxes,.5
phy set rigid body linear velocity boxes,0,0.1,0
inc height,2
next boxes
endfunction
Your mod has been erased by a signature