| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
|
| 3 | <X3D profile='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'> |
| 4 | <head> |
| 5 | <meta name='title' content=' WheelsRearRightPrototype.x3d '/> |
| 6 | <meta name='description' content='This prototype performs to raise and lower rear right wheels and axle. The clickable axle triggers an animation.'/> |
| 7 | <meta name='creator' content='Etsuko Lippi'/> |
| 8 | <meta name='created' content='18 October 2001'/> |
| 9 | <meta name='modified' content='20 October 2019'/> |
| 10 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 11 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F18BlueAngelUnitedStates/WheelsRearRightPrototype.x3d '/> |
| 12 | <meta name='subject' content='rear right wheel, animation of gear up and down, Prototype'/> |
| 13 | <meta name='license' content='../../license.html'/> |
| 14 | </head> |
| 15 | <Scene> |
| 16 | <WorldInfo title='WheelsRearRightPrototype.x3d'/> |
| 17 | <ProtoDeclare name='WheelsRearRight'> |
| 18 | <ProtoInterface> |
| 19 |
<field name='gearup' type='SFBool' accessType='inputOnly'
appinfo='boolean eventIn: true = wheels up false = wheels down.'/> |
| 20 | <field name='animationStartTime' type='SFTime' accessType='inputOnly'/> |
| 21 | <field name='gearupOut' type='SFBool' accessType='outputOnly'/> |
| 22 | <field name='traceEnabled' type='SFBool' value='false' accessType='initializeOnly'/> |
| 23 | </ProtoInterface> |
| 24 | <ProtoBody> |
| 25 | <Group> |
| 26 |
<!-- ROUTE information for WheelsRearTransform node:
[from GearUpDownInterpolator2.value_changed to set_rotation
]
-->
<Transform DEF='WheelsRearTransform' center='0 3.8 0'> |
| 27 |
<!-- ROUTE information for WheelsRearAxleTransform node:
[from GearUpDownInterpolator.value_changed to set_rotation
]
-->
<Transform DEF='WheelsRearAxleTransform' center='0.02 0.2 1.72'> |
| 28 | <Group> |
| 29 | <!-- wheels axis connecting to fuselage --> |
| 30 |
<!-- ROUTE information for WheelTransform node:
[from WheelInterpolator.value_changed to set_rotation
]
-->
<Transform DEF='WheelTransform' scale='1.2 1.2 1.2'> |
| 31 | <Transform scale='0.3 0.3 0.3'> |
| 32 | <Transform rotation='0 1 0 1.571'> |
| 33 | <Shape DEF='wheel'> |
| 34 | <Appearance> |
| 35 | <Material DEF='black1' diffuseColor='0 0 0' shininess='0.125' specularColor='0.2 0.2 0.2'/> |
| 36 | </Appearance> |
| 37 | <Extrusion creaseAngle='3.14' crossSection='0.00 1.30 .494 1.196 .923 .923 1.196 .494 1.30 0.00 1.196 -.494 .923 -.923 .494 -1.196 0.00 -1.30' spine='0 0 1.30 0 .494 1.196 0 .923 .923 0 1.196 .494 0 1.30 0.00 0 1.196 -.494 0 .923 -.923 0 .494 -1.196 0 0.00 -1.30 0 -.494 -1.196 0 -.923 -.923 0 -1.196 -.494 0 -1.30 0 0 -1.196 .494 0 -.923 .923 0 -.494 1.196 0 0.00 1.30'/> |
| 38 | </Shape> |
| 39 | <Shape DEF='inside_wheel'> |
| 40 | |
| 41 | <Material diffuseColor='1 1 1'/> |
| 42 | </Appearance> |
| 43 | <Extrusion crossSection='0.00 1.30 0.10 1.30 0.10 0.00 0.10 -1.30 0.00 -1.30 0.00 0.00 0.00 1.30' spine='0 0 1.30 0 .494 1.196 0 .923 .923 0 1.196 .494 0 1.30 0.00 0 1.196 -.494 0 .923 -.923 0 .494 -1.196 0 0.00 -1.30 0 -.494 -1.196 0 -.923 -.923 0 -1.196 -.494 0 -1.30 0 0 -1.196 .494 0 -.923 .923 0 -.494 1.196 0 0.00 1.30'/> |
| 44 | </Shape> |
| 45 | </Transform> |
| 46 | <Transform rotation='0 1 0 1.571'> |
| 47 | <Shape> |
| 48 | <Appearance USE='white1'/> |
| 49 | <Extrusion crossSection='-0.10 1.30 0.00 1.30 0.00 0.00 0.00 -1.30 -0.10 -1.30 -0.10 0.00 -0.10 1.30' spine='0 0 1.30 0 .494 1.196 0 .923 .923 0 1.196 .494 0 1.30 0.00 0 1.196 -.494 0 .923 -.923 0 .494 -1.196 0 0.00 -1.30 0 -.494 -1.196 0 -.923 -.923 0 -1.196 -.494 0 -1.30 0 0 -1.196 .494 0 -.923 .923 0 -.494 1.196 0 0.00 1.30'/> |
| 50 | </Shape> |
| 51 | </Transform> |
| 52 | <Transform rotation='0 1 0 1.571'> |
| 53 | <Shape> |
| 54 | <Appearance> |
| 55 | <Material diffuseColor='0 0.25 0.5'/> |
| 56 | </Appearance> |
| 57 | <Extrusion crossSection='-0.30 1.30 -0.10 1.30 -0.10 0.00 -0.10 -1.30 -0.30 -1.30 -0.30 0.00 -0.30 1.30' spine='0 0 1.30 0 .494 1.196 0 .923 .923 0 1.196 .494 0 1.30 0.00 0 1.196 -.494 0 .923 -.923 0 .494 -1.196 0 0.00 -1.30 0 -.494 -1.196 0 -.923 -.923 0 -1.196 -.494 0 -1.30 0 0 -1.196 .494 0 -.923 .923 0 -.494 1.196 0 0.00 1.30'/> |
| 58 | </Shape> |
| 59 | </Transform> |
| 60 | </Transform> |
| 61 | <Transform translation='0 0 0.30'> |
| 62 |
<!-- Inline
Hub is a DEF node that has 1 USE node: USE_1 --> <Inline DEF='Hub' url=' "Hub.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F18BlueAngelUnitedStates/Hub.wrl" "Hub.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F18BlueAngelUnitedStates/Hub.x3d" '/> |
| 63 | </Transform> |
| 64 | <Transform translation='0 0 -0.30'> |
| 65 | <Inline USE='Hub'/> |
| 66 | </Transform> |
| 67 |
<!-- ROUTE information for WheelTouchSensor node:
[from isOver to Clock.set_enabled
]
-->
<TouchSensor DEF='WheelTouchSensor' description='pointer spins wheel'/> |
| 68 |
<!-- ROUTE information for Clock node:
[from WheelTouchSensor.isOver to set_enabled
]
[from fraction_changed to WheelInterpolator.set_fraction
]
-->
<TimeSensor DEF='Clock' cycleInterval='0.5' enabled='false' loop='true'/> |
| 69 |
<!-- ROUTE information for WheelInterpolator node:
[from Clock.fraction_changed to set_fraction
]
[from value_changed to WheelTransform.set_rotation
]
-->
<OrientationInterpolator DEF='WheelInterpolator' key='0 0.5 1.0' keyValue='0 0 1 0.0 0 0 1 3.14 0 0 1 6.28'/> |
| 70 | < ROUTE fromNode='WheelTouchSensor' fromField='isOver' toNode='Clock' toField='set_enabled'/> |
| 71 | < ROUTE fromNode='Clock' fromField='fraction_changed' toNode='WheelInterpolator' toField='set_fraction'/> |
| 72 | < ROUTE fromNode='WheelInterpolator' fromField='value_changed' toNode='WheelTransform' toField='set_rotation'/> |
| 73 | </Transform> |
| 74 | </Group> |
| 75 | <Group> |
| 76 | <Transform DEF='JointsAxisAndAssistantsTest'> |
| 77 | <Group DEF='JointsAxisAndAssistants'> |
| 78 | <Transform rotation='-0.13 0.98 -0.13 1.59' scale='0.1 0.1 0.1' translation='0 0.15 1.55'> |
| 79 | <!-- Joint center --> |
| 80 | <Shape> |
| 81 | |
| 82 | <Material ambientIntensity='0.3' diffuseColor='0.3 0.3 0.3' shininess='0.20' specularColor='0.50 0.50 0.60'/> |
| 83 | </Appearance> |
| 84 |
<!-- Extrusion
joint is a DEF node that has 2 USE nodes: USE_1, USE_2 --> <Extrusion DEF='joint' creaseAngle='2.5' crossSection='0.00 1.30 .494 1.196 .923 .923 1.196 .494 1.30 0.00 1.196 -.494 .923 -.923 .494 -1.196 0.00 -1.30 -.494 -1.196 -.923 -.923 -1.196 -.494 -1.30 -0.00 -1.196 .494 -.923 .923 -.494 1.196 0.00 1.30' spine='-2.5 1.5 0 -2.5 1 0 -2 0 0 -2 0 0 -1.5 -1 0 -0.5 -1.5 0 0.5 -1.5 0 1.5 -1.5 0 2 -1.0 0'/> |
| 85 | </Shape> |
| 86 | </Transform> |
| 87 | <Transform rotation='-0.13 0.98 -0.13 1.59' scale='0.07 0.07 0.07' translation='0.30 0.15 1.55'> |
| 88 | <!-- Joint side --> |
| 89 | <Shape> |
| 90 | <Appearance USE='AxleColor'/> |
| 91 | <Extrusion USE='joint'/> |
| 92 | </Shape> |
| 93 | </Transform> |
| 94 | <Transform rotation='-0.13 0.98 -0.13 1.59' scale='0.07 0.07 0.07' translation='-0.30 0.15 1.55'> |
| 95 | <!-- Joint side --> |
| 96 | <Shape> |
| 97 | <Appearance USE='AxleColor'/> |
| 98 | <Extrusion USE='joint'/> |
| 99 | </Shape> |
| 100 | </Transform> |
| 101 | <Transform rotation='1 0 0 1.57' scale='0.7 0.7 0.7' translation='0 0 0.5'> |
| 102 | <!-- Wheel connected axis. (black) --> |
| 103 | <Shape> |
| 104 | <Appearance USE='AxleColor'/> |
| 105 | <Cylinder height='1.0' radius='0.1'/> |
| 106 | </Shape> |
| 107 | </Transform> |
| 108 | <Transform rotation='1 0 0 1.57' scale='0.7 0.7 0.7' translation='0 0 0.65'> |
| 109 | <!-- The second axis. (black) --> |
| 110 | <Shape> |
| 111 | <Appearance USE='AxleColor'/> |
| 112 | <Cylinder height='0.4' radius='0.25'/> |
| 113 | </Shape> |
| 114 | </Transform> |
| 115 | <Transform rotation='1 0 0 1.57' scale='0.7 0.7 0.7' translation='0 0 1.1'> |
| 116 | <!-- assistant axle for rear wheel(white) --> |
| 117 | <Shape> |
| 118 | <Appearance> |
| 119 | <Material diffuseColor='1.0 1.0 1.0'/> |
| 120 | </Appearance> |
| 121 | <Cylinder height='1' radius='0.3'/> |
| 122 | </Shape> |
| 123 | </Transform> |
| 124 | <Transform rotation='1 0 0 1.57' scale='0.7 0.7 0.7' translation='0.3 0 1.1'> |
| 125 | <!-- assistant axle for rear wheel(white) --> |
| 126 | <Shape> |
| 127 | |
| 128 | <Material diffuseColor='1.0 1.0 1.0'/> |
| 129 | </Appearance> |
| 130 | <Cylinder height='1' radius='0.3'/> |
| 131 | </Shape> |
| 132 | </Transform> |
| 133 | <Transform rotation='1 0 0 1.57' scale='0.7 0.7 0.7' translation='-0.3 0 1.1'> |
| 134 | <!-- assistant axle for rear wheel(white) --> |
| 135 | <Shape> |
| 136 | <Appearance USE='AssistantAxleColor'/> |
| 137 | <Cylinder height='1' radius='0.3'/> |
| 138 | </Shape> |
| 139 | </Transform> |
| 140 | </Group> |
| 141 | </Transform> |
| 142 | </Group> |
| 143 | </Transform> |
| 144 | <Transform> |
| 145 | <Group DEF='RearAxles'> |
| 146 | <Transform rotation='1 0 0 0.44' scale='0.7 0.7 0.7' translation='0 1.05 2.15'> |
| 147 | <!-- main axle for rear wheels (white) --> |
| 148 | <Shape> |
| 149 | <Appearance USE='AssistantAxleColor'/> |
| 150 | <Box size='0.5 3 0.5'/> |
| 151 | </Shape> |
| 152 | </Transform> |
| 153 | <Transform rotation='1 0 0 0.44' scale='0.7 0.7 0.7' translation='0.3 0.8 2'> |
| 154 | <!-- assistant axle for rear wheel (white) --> |
| 155 | <Shape> |
| 156 | <Appearance USE='AssistantAxleColor'/> |
| 157 | <Cylinder radius='0.2'/> |
| 158 | </Shape> |
| 159 | </Transform> |
| 160 | <Transform rotation='1 0 0 0.44' scale='0.7 0.7 0.7' translation='0.3 1.5 2.3'> |
| 161 | <!-- assistant axle for rear wheel (white) --> |
| 162 | <Shape> |
| 163 | <Appearance USE='AssistantAxleColor'/> |
| 164 | <Cylinder radius='0.3'/> |
| 165 | </Shape> |
| 166 | </Transform> |
| 167 | <Transform rotation='1 0 0 0.44' scale='0.7 0.7 0.7' translation='-0.3 0.8 2'> |
| 168 | <!-- assistant axle for rear wheel (white) --> |
| 169 | <Shape> |
| 170 | <Appearance USE='AssistantAxleColor'/> |
| 171 | <Cylinder radius='0.2'/> |
| 172 | </Shape> |
| 173 | </Transform> |
| 174 | <Transform rotation='1 0 0 0.44' scale='0.7 0.7 0.7' translation='-0.3 1.5 2.3'> |
| 175 | <!-- assistant axle for rear wheel (white) --> |
| 176 | <Shape> |
| 177 | <Appearance USE='AssistantAxleColor'/> |
| 178 | <Cylinder radius='0.3'/> |
| 179 | </Shape> |
| 180 | </Transform> |
| 181 | <Transform rotation='1 0 0 0.44' scale='0.5 0.5 0.5' translation='-0.3 0.2 1.72'> |
| 182 | <!-- assistant axis under axle (black) --> |
| 183 | <Shape> |
| 184 | <Appearance USE='AxleColor'/> |
| 185 | <Cylinder height='0.7' radius='0.2'/> |
| 186 | </Shape> |
| 187 | </Transform> |
| 188 | <Transform rotation='1 0 0 0.44' scale='0.5 0.5 0.5' translation='0 0.2 1.72'> |
| 189 | <!-- assistant axis under axle (black) --> |
| 190 | <Shape> |
| 191 | <Appearance USE='AxleColor'/> |
| 192 | <Cylinder height='0.7' radius='0.2'/> |
| 193 | </Shape> |
| 194 | </Transform> |
| 195 | <Transform rotation='1 0 0 0.44' scale='0.5 0.5 0.5' translation='0.3 0.2 1.72'> |
| 196 | <!-- assistant axis under axle (black) --> |
| 197 | <Shape> |
| 198 | <Appearance USE='AxleColor'/> |
| 199 | <Cylinder height='0.7' radius='0.2'/> |
| 200 | </Shape> |
| 201 | </Transform> |
| 202 | </Group> |
| 203 | </Transform> |
| 204 |
<!-- ROUTE information for GearUpDownScript node:
[from ClockAxleGearUpDownFirst.fraction_changed to set_fraction
]
[from clockStartTime to ClockAxleGearUpDownFirst.set_startTime
]
[from clockStartTime to ClockAxleGearUpDownSecond.set_startTime
]
[from gearupOut to ClockAxleGearUpDownFirst.set_enabled
]
[from gearupOut to ClockAxleGearUpDownSecond.set_enabled
]
[from keyValue to GearUpDownInterpolator.set_keyValue
]
[from keyValue2 to GearUpDownInterpolator2.set_keyValue
]
-->
<Script DEF='GearUpDownScript'> |
| 205 |
<field name='gearup' type='SFBool' accessType='inputOnly'
appinfo='eventIn: boolean true: wheels up false: wheels down'/> |
| 206 | <field name='gearupOut' type='SFBool' accessType='outputOnly'/> |
| 207 | <field name='keyValue' type='MFRotation' accessType='outputOnly'/> |
| 208 | <field name='keyValue2' type='MFRotation' accessType='outputOnly'/> |
| 209 | <field name='kV1' type='SFRotation' accessType='initializeOnly'/> |
| 210 | <field name='kV1Second' type='SFRotation' accessType='initializeOnly'/> |
| 211 | <field name='kV2' type='SFRotation' accessType='initializeOnly'/> |
| 212 | <field name='kV2Second' type='SFRotation' accessType='initializeOnly'/> |
| 213 | <field name='kV3' type='SFRotation' accessType='initializeOnly'/> |
| 214 | <field name='kV3Second' type='SFRotation' accessType='initializeOnly'/> |
| 215 | <field name='kV4' type='SFRotation' accessType='initializeOnly'/> |
| 216 | <field name='kV4Second' type='SFRotation' accessType='initializeOnly'/> |
| 217 | <field name='set_fraction' type='SFFloat' accessType='inputOnly'/> |
| 218 | <field name='animationStartTime' type='SFTime' accessType='inputOnly'/> |
| 219 | <field name='clockStartTime' type='SFTime' accessType='outputOnly'/> |
| 220 | <field name='traceEnabled' type='SFBool' accessType='initializeOnly'/> |
| 221 | <IS> |
| 222 | <connect nodeField='gearup' protoField='gearup'/> |
| 223 | <connect nodeField='animationStartTime' protoField='animationStartTime'/> |
| 224 | <connect nodeField='gearupOut' protoField='gearupOut'/> |
| 225 | <connect nodeField='traceEnabled' protoField='traceEnabled'/> |
| 226 | </IS> |
<![CDATA[
ecmascript:
function gearup(value, timeStamp) {
if (value == true) //Gear Up
{
tracePrint ('[GearUp] ' );
tracePrint ('value = ' + value);
gearupOut = true;
kV1 = new SFRotation (new SFVec3f (0, -1, 0), 0.0);
kV2 = new SFRotation (new SFVec3f (0, -1, 0), 0.44);
kV3 = new SFRotation(new SFVec3f (0, -1, 0), 1.22);
kV4 = new SFRotation(new SFVec3f (0.21, -0.96, -0.19), 1.72);
keyValue = new MFRotation(kV1, kV2, kV3, kV4);
kV1Second = new SFRotation (new SFVec3f (0, 0, -1), 0.0);
kV2Second = new SFRotation (new SFVec3f (0, 0, -1), 0.44);
kV3Second = new SFRotation(new SFVec3f (0, 0, -1), 0.80);
kV4Second = new SFRotation(new SFVec3f (-0.21, 0.18, -0.95), 1.62);
keyValue2 = new MFRotation(kV1Second, kV2Second, kV3Second, kV4Second);
//tracePrint ('[keyValue = ]' + keyValue);
}
else //Gear Down
{
tracePrint ('[GearDown] ' );
tracePrint ('value = ' + value);
gearupOut = true;
keyValue = new MFRotation(kV4, kV3, kV2, kV1);
keyValue2 = new MFRotation(kV4Second, kV3Second, kV2Second, kV1Second);
//tracePrint ('[keyValue = ]' + keyValue);
}
}
function set_fraction (value, timeStamp)
{
//tracePrint('time fraction = ' + value);
}
function animationStartTime(value, timeStamp)
{
tracePrint('The Start Time is: ' + value);
clockStartTime = value;
}
function tracePrint (outputString)
{
if (traceEnabled) Browser.println ('[WheelsRearRightPrototype] ' + outputString);
}
]]>
|
|
| 228 | </Script> |
| 229 |
<!-- ROUTE information for GearUpDownInterpolator node:
[from GearUpDownScript.keyValue to set_keyValue
]
[from ClockAxleGearUpDownFirst.fraction_changed to set_fraction
]
[from value_changed to WheelsRearAxleTransform.set_rotation
]
-->
<OrientationInterpolator DEF='GearUpDownInterpolator' key='0 0.5 0.75 1.0' keyValue='0 1 0 0.0 0 1 0 0.44 0 1 0 1.22 0.21 0.95 0.21 1.62'/> |
| 230 |
<!-- ROUTE information for GearUpDownInterpolator2 node:
[from GearUpDownScript.keyValue2 to set_keyValue
]
[from ClockAxleGearUpDownSecond.fraction_changed to set_fraction
]
[from value_changed to WheelsRearTransform.set_rotation
]
-->
<OrientationInterpolator DEF='GearUpDownInterpolator2' key='0 0.25 0.5 1.0' keyValue='0 0 1 0.0 0 0 1 0.44 0 0 1 0.80 -0.21 -0.21 0.95 1.62'/> |
| 231 |
<!-- ROUTE information for ClockAxleGearUpDownFirst node:
[from GearUpDownScript.clockStartTime to set_startTime
]
[from GearUpDownScript.gearupOut to set_enabled
]
[from fraction_changed to GearUpDownInterpolator.set_fraction
]
[from fraction_changed to GearUpDownScript.set_fraction
]
-->
<TimeSensor DEF='ClockAxleGearUpDownFirst' cycleInterval='4'/> |
| 232 |
<!-- ROUTE information for ClockAxleGearUpDownSecond node:
[from GearUpDownScript.clockStartTime to set_startTime
]
[from GearUpDownScript.gearupOut to set_enabled
]
[from fraction_changed to GearUpDownInterpolator2.set_fraction
]
-->
<TimeSensor DEF='ClockAxleGearUpDownSecond' cycleInterval='8'/> |
| 233 | < ROUTE fromNode='GearUpDownScript' fromField='clockStartTime' toNode='ClockAxleGearUpDownFirst' toField='set_startTime'/> |
| 234 | < ROUTE fromNode='GearUpDownScript' fromField='clockStartTime' toNode='ClockAxleGearUpDownSecond' toField='set_startTime'/> |
| 235 | < ROUTE fromNode='GearUpDownScript' fromField='gearupOut' toNode='ClockAxleGearUpDownFirst' toField='set_enabled'/> |
| 236 | < ROUTE fromNode='GearUpDownScript' fromField='gearupOut' toNode='ClockAxleGearUpDownSecond' toField='set_enabled'/> |
| 237 | < ROUTE fromNode='GearUpDownScript' fromField='keyValue' toNode='GearUpDownInterpolator' toField='set_keyValue'/> |
| 238 | < ROUTE fromNode='GearUpDownScript' fromField='keyValue2' toNode='GearUpDownInterpolator2' toField='set_keyValue'/> |
| 239 | < ROUTE fromNode='ClockAxleGearUpDownFirst' fromField='fraction_changed' toNode='GearUpDownInterpolator' toField='set_fraction'/> |
| 240 | < ROUTE fromNode='ClockAxleGearUpDownSecond' fromField='fraction_changed' toNode='GearUpDownInterpolator2' toField='set_fraction'/> |
| 241 | < ROUTE fromNode='ClockAxleGearUpDownFirst' fromField='fraction_changed' toNode='GearUpDownScript' toField='set_fraction'/> |
| 242 | < ROUTE fromNode='GearUpDownInterpolator' fromField='value_changed' toNode='WheelsRearAxleTransform' toField='set_rotation'/> |
| 243 | < ROUTE fromNode='GearUpDownInterpolator2' fromField='value_changed' toNode='WheelsRearTransform' toField='set_rotation'/> |
| 244 | </Transform> |
| 245 | </Group> |
| 246 | </ProtoBody> |
| 247 | </ProtoDeclare> |
| 248 | <Background skyColor='0.7 0.7 0.7'/> |
| 249 | <Anchor description='WheelsRearRightExample' parameter='"target=_blank"' url=' "WheelsRearRightExample.wrl" "../../AircraftFixedWing/F18BlueAngelUnitedStates/WheelsRearRightExample.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F18BlueAngelUnitedStates/WheelsRearRightExample.wrl" "WheelsRearRightExample.x3d" "../../AircraftFixedWing/F18BlueAngelUnitedStates/WheelsRearRightExample.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/F18BlueAngelUnitedStates/WheelsRearRightExample.x3d" '> |
| 250 | <Shape> |
| 251 | <Text string='"WheelsRearRightPrototype" "is a prototype definition file" "" "To see an example scene" "click on this text and view" "WheelsRearRightExample"'> |
| 252 | <FontStyle justify='"MIDDLE" "MIDDLE"'/> |
| 253 | </Text> |
| 254 | <Appearance/> |
| 255 | </Shape> |
| 256 | </Anchor> |
| 257 | </Scene> |
| 258 | </X3D> |
Event Graph ROUTE Table entries with 14 ROUTE connections total, showing X3D event-model relationships for this scene.
Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.
|
WheelTouchSensor
TouchSensor isOver SFBool |
Clock
TimeSensor set_enabled SFBool |
then
|
Clock
TimeSensor fraction_changed SFFloat |
WheelInterpolator
OrientationInterpolator set_fraction SFFloat |
then
|
WheelInterpolator
OrientationInterpolator value_changed SFRotation |
WheelTransform
Transform set_rotation SFRotation |
| line 249
Anchor |
description='WheelsRearRightExample' User-interaction hint for this node. |
<!--
Color-coding legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
<ProtoDeclare name='ProtoName'>
<field
name='fieldName'/> </ProtoDeclare>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->