hey guys
ive been messing around with limbs and keep getting a chain limb command error and have try looking it up but didnt get anywhere
`setup
sync on
sync rate 60
backdrop on
color backdrop 0
autocam off
`pitch camera down 0,90
`move camera 0,-50
position camera 0,45,0,-50
point camera 0,0,0,0
`planet
make object sphere 1,10
position object 1,0,0,0
color object 1, rgb (0,255,0)
`moon 1
make object sphere 2,5
MAKE MESH FROM object 1,2
position object 2,0,0,0
zrotate object 2,90
color object 2, rgb(255,0,0)
`moon 2
make object sphere 3,5
color object 3, rgb(0,0,255)
`moon 1 intersection
add limb 2,1,1
offset limb 2,1,0,0,0
hide limb 2,1
`moon 2 intersection
`add limb 3,2,1
`offset limb 3,2,0,0,0
`hide limb 3,2
`boundary
make object plain 4, 100,100
make mesh from object 2,4
add limb 4,2,2
link limb 4,4,2
offset limb 4,2,0,0,0
hide limb 4,2
position object 4, -50,0,0
yrotate object 4,90
move object 3,15
move object 2,15
do
`Define variables for lag reduction
X#=OBJECT POSITION X(2)
Y#=OBJECT POSITION Y(2)
Z#=OBJECT POSITION Z(2)
xa# = object position x(3)
ya# = object position y (3)
za# = object position z (3)
xb# = object position x(4)
yb# = object position y(4)
zb# = object position z(4)
`movement
rotate camera camera angle x(0)+(mousemovey()/2.0),camera angle y(0)+(mousemovex()/2.0),0
if upkey () = 1 then move camera (0),5
if downkey () = 1 then move camera (0),-5
move object 3,-15
turn object left 3,1
move object 3,15
move object 2,-15
turn object right 2,1
move object 2,15
`check for collision
if intersect object (3,X#,Y#,Z#,xa#,ya#,za#)>0 then zrotate object 3,90
if intersect object (4,xa#,ya#,za#,xb#,yb#,zb#)>0 then move object up 3,5
sync
loop
the second moon should collide with the ist moon and then the plain and back
any help would be amazing