home *** CD-ROM | disk | FTP | other *** search
- #VRML V2.0 utf8
-
- # "$Id: buggy.wrl,v 1.6 1997/05/14 09:14:10 ask Exp $";
- #
- # This file is conveted from VRML 1.0 to Moving Worlds.
- # Copyright(C) 1996, 1997 Sony Corporation. All rights reserved.
-
- DEF BUGGY_TRANSFORM Transform {
- children [
- Transform {
- translation 0 3.5 0
- rotation 0 1 0 3.14
- children [
- DEF RIDING_VIEW Viewpoint {
- position 0 0 0
- # TRUEé═âfâtâHâïâgÆlé╚é╠é┼âRâüâôâgé╔é╖éΘ
- # jump TRUE
- }
- ]
- }
- DEF BUGGY_BIND_BODY Transform {
- children [
- #### BUGGY BODY ####
- Inline { url "../models/buggybdy.wrl" }
- ]
- }
- DEF TOUCH_SENSOR TouchSensor {}
- ]
- }
-
- DEF TIME_SENSOR TimeSensor {
- cycleInterval 0.035
- loop TRUE
- }
-
- DEF SCRIPT Script {
- url "../scripts/buggy.class"
-
- eventIn SFTime moveBuggy
- eventIn SFTime getOnOff
-
- eventOut SFRotation buggyRt
- eventOut SFVec3f buggyTr
- eventOut SFBool RidingView_bind
- }
-
- ROUTE TOUCH_SENSOR.touchTime TO SCRIPT.getOnOff
- ROUTE TIME_SENSOR.cycleTime TO SCRIPT.moveBuggy
-
- ROUTE SCRIPT.buggyTr TO BUGGY_TRANSFORM.set_translation
- ROUTE SCRIPT.buggyRt TO BUGGY_TRANSFORM.set_rotation
-
- ROUTE SCRIPT.RidingView_bind TO RIDING_VIEW.set_bind
-
-