Code: Select all
mesh #cube
#start bottom ring
vertex 100 100 20 #0
vertex -100 100 20 #1
vertex -100 -100 20 #2
vertex 100 -100 20 #3
#end bottom ring
#start top ring
vertex 100 100 20 #4
vertex -100 100 20 #5
vertex -100 -100 20 #6
vertex 100 -100 20 #7
#end top ring
face #bottom face
vertices 0 1 2 3
phydrv bounce
endface
face #top face
vertices 4 5 6 7
endface
face #y+ face
vertices 0 1 4 5
endface
face #y- face
vertices 2 3 6 7
endface
face #x+ face
vertices 0 3 4 7
endface
face #x- face
vertices 1 2 5 6
endface
end #cube