DRIVING A SPACESHIP

You need to take a spaceship to go from the Airport 1 to the Airport 2

To move the avatar: the usual arrow keys. To look up/down use: "a" and "z" keys.

You can move yourself inside the spaceship.

To drive the space ship (NOT ONLY CLICK! MANTAIN CLICKED!):

Use the "red carpet" to go inside the spaceship :-)

The spaceship can fly without you inside.

The movements of the spaceship are create like the avatar's movements but the reference coordinate axises system is #self and not #world like the avatar:

--for spaceship translation
rotatorn = transform()
rotatorn.rotate(vector(0,0,0), upvect, steern) 
fwvectn = rotatorn*vector(-1,0,0) -- important!  
movementn = ( fwvectn*distanceforwardn )
myworld.model("spaceland").translate(movementn ,#self)


PREVIOUS NEXT
T. CONTENTS HOMEPAGE