nice command to get your head around.
link limb works like this, when you have made your meahes and add limbs, you move to link limbs. (note some times linking limbs reset the position of the limbs)
take
link limb 2,1,2
link limb 2,2,3
whats it saying is object 2, link limb 2 to limb 1 then link limb 3 to limb 2
so
object 2 - 1Limb <-2Limb <- 3Limb
if the above had been
link limb 2,1,3
link limb 2,3,2
object 2 - 1Limb <- 3Limb <- 2Limb
Rem ***** Main Source File *****
Rem Project: chessPuzzle1
Rem Created: 27/03/2008 08:23:49
Rem ***** Main Source File *****
sync on
sync rate 60
autocam off
position camera 0,0,0,-50
make object box 1, 10,10,5
make object sphere 2,10
make object cone 3,5
make mesh from object 1,1
make mesh from object 2,2
make mesh from object 3,3
rem make object one
add limb 1,1,1
add limb 1,2,1
add limb 1,3,3
rem make object two
add limb 2,1,2
add limb 2,2,1
add limb 2,3,3
rem delete and hide some limbs
delete object 3
hide limb 1,0
hide limb 2,0
color object 1,rgb(255,0,0)
do
if x#>360 then x#=0.0
rotate object 1,x#,0,0
rotate object 2,0,x#,0
inc x#,.5
if inkey$()="l"
rem LINK LIMB Object Number, Limb Parent, Limb Child
link limb 2,1,2
link limb 2,2,3
link limb 1,1,2
link limb 1,2,3
endif
if inkey$()="o"
offset limb 2,1,10,10,0
offset limb 2,3,15,10,0
offset limb 1,1,5,10,0
offset limb 1,3,10,0,5
endif
sync
loop
hope this helps
Dark Physics makes any hot drink go cold.