1. Since all your boxes are the same dimensions, you don't have to make three of them. You can make one and make a single mesh that's added multiple times.
2. I suspect that you don't need a link limb command. You might - I don't know what you're doing - but you don't need it just to put three limbs together into one object.
3. I'm guessing that when you tried this it seemed that you were only getting one box. You need to use OFFSET LIMB commands using the
relative positions of the boxes to position the limbs correctly. If you omit this step, the limbs will all be positioned at the same coordinates and since in this case the limbs are all the same size and shape, it will look like there's only one. Don't forget to use ROTATE LIMB commands to make sure each limb has the proper orientation.
Try this:
sync on
sync rate 60
make object box 1, 50.0, 50.0, 50.0
make mesh from object 1, 1
make object plain 2, 0.0, 0.0
add limb 2, 1, 1
add limb 2, 2, 1
add limb 2, 3, 1
offset limb 2, 2, 10.0, 0.0, 10.0
offset limb 2, 3, 20.0, 0.0, 20.0
position object 2, 0.0, 0.0, 200.0
position camera 0.0, 0.0, 0.0
delete object 1
delete mesh 1
do
if leftkey() then position object 2, object position x(2) - 1.0, object position y(2), object position z(2)
if rightkey() then position object 2, object position x(2) + 1.0, object position y(2), object position z(2)
if upkey() then position object 2, object position x(2), object position y(2) + 1.0, object position z(2)
if downkey() then position object 2, object position x(2), object position y(2) - 1.0, object position z(2)
text 10, 10, "Use arrow keys to move. Escape to end."
sync
loop
- Jane