Stinger Surface-to-Air Missile (SAM) example use
this scene duplicates geometry, and instead should use Inline to reference the original Stinger model.
X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit
ecmascript: function initialize() { value_changed[0]=0; value_changed[1]=0; value_changed[2]=0; } // Move a shape in a straight path function set_fraction( fraction, eventTime ) { value_changed[0] = 0.0; // X component value_changed[1] = value_changed[1] + 0.078; // Y component value_changed[2] = 0.0; // Z component }
"cammie1.jpg" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/AV8bHarrierUnitedStates/cammie1.jpg"
ecmascript: function initialize(){ value_changed[0]=10; value_changed[1]=5; value_changed[2]=0; } // Move a shape in a straight path function set_fraction( fraction, eventTime ) { value_changed[0] = value_changed[0] - 0.2; // X component value_changed[1] = 5; // Y component value_changed[2] = 0.0; // Z component }