sorry for dp, will these commands work with hidden objects?
edit:
nvm, went ahead and tried it both with hidden and non-hidden objects and it works great
here it is, remove the `s b4 the hide objects to turn them on or off
sync on
make object box 1,10,2,.2 : make mesh from object 1,1 : delete object 1
make object box 1,.2,2,5 : make mesh from object 2,1
add limb 1,1,1 : offset limb 1,1,5,0,2.5
add limb 1,2,1 : offset limb 1,2,5,0,-2.5
add limb 1,3,2 : offset limb 1,3,10,0,0
make mesh from object 3,1
scale object 1,100,10,100 : make mesh from object 4,1
delete object 1
make object box 1,10,2,5 : color object 1,rgb(0,255,0) : change mesh 1,0,4
make object sphere 2,1 : position object 2,0,0,2.5 `: hide object 2
make object sphere 3,1 : position object 3,10,0,-2.5 `: hide object 3
position camera 5,20,-10 : point camera camera position x(),0,0
do
if mouseover(object screen x(2),object screen y(2),object screen x(3),object screen y(3))=1
change mesh 1,0,3
else
change mesh 1,0,4
endif
sync
loop
function mouseover(x1,y1,x2,y2)
if x1<mousex() and mousex()<x2
if y1<mousey() and mousey()<y2
exitfunction 1
endif
endif
endfunction 0
There are only 10 kinds of people in the world, those who understand binary and those who dont