home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
VRML Tools for 3D Cyberspace
/
VRML_Tools_For_3D_Cyberspace.iso
/
vream
/
data.1
/
turbo.vre
< prev
next >
Wrap
Text File
|
1996-02-09
|
2KB
|
60 lines
// VREAM Extension File
VRC_REFERENCE_OBJECT,S,ball;
vrc_hint,s,
"Click here to activate WIRL extensions";
vrc_auto_translate_relative_limits,s,0,0,1,0,0,0,0,-40,5;
VRC_REFERENCE_OBJECT,S,hand;
vrc_auto_rotate_relative_limits,s,0,0,1,0,0,0,0,-1.5,1.7;
VRC_REFERENCE_OBJECT,S,scooter;
vrc_auto_translate_relative_limits,s,0,1,0,0,0,-40,20,0,0;
VRC_REFERENCE_OBJECT,S,world;
vrc_weight,s,30;
vrc_links,s,1;
// initialize variable
vrc_link,s,null,null,0,0,10;
vrc_initialize,c;
vrc_variable,r,set,@ui_0,0;
vrc_link,s,null,plane,0,0,15;
vrc_initialize,c;
VRC_OBJECT_ROTATE_relative,R,
-0.700000,0.000000,0.000000,0,
30.000000,30.000000,20.000000;
// test if first time the hand is picked
vrc_link,s,null,null,0,0,20;
vrc_variable,c,eq,@ui_0,0;
vrc_and,r;
vrc_link,s,ball,null,0,0,30;
vrc_object_picked,c,1;
vrc_variable,r,set,@ui_0,1;
// if so then jack in all these extensions
// wave the hand
vrc_link,s,null,hand,0,0,40;
vrc_and,c;
vrc_auto_rotate_relative,r,0,0,0.2,0,0,0,-2.5;
// drop the ball
vrc_link,s,null,ball,0,0,50;
vrc_and,c;
vrc_auto_translate_relative,r,0,0,-2;
// loop the plane
vrc_link,s,null,plane,0,0,60;
vrc_and,c;
vrc_auto_rotate_relative,r,0,0.1,0,0,30,30,10;
// rotate the plane's propeller
vrc_link,s,null,blades,0,0,70;
vrc_and,c;
vrc_auto_rotate_relative,r,0,0,0.5,0,0,0,2.5;
// move the scooter
vrc_link,s,null,scooter,0,0,80;
vrc_and,c;
vrc_auto_translate_relative,r,0,2.5,0;