Example05.x3d

X_ITE X3D Player   VRML 97 specification example: This Script node decides whether or not to open a bank vault given openVault and combinationEntered messages. To do this, it remembers whether or not the correct combination has been entered. The Script node combined with a Sphere, a TouchSensor and a Sound node to show how is works. When the pointing device is over the sphere, the combinationEntered eventIn of the Script is sent. Then, when the Sphere is touched (typically when the mouse button is pressed) the Script is sent the openVault eventIn. This generates the vaultUnlocked eventOut which starts a 'click' sound.

Display error: X3D model not shown.

Your HTML browser does not appear to support all features required by the X_ITE X3D player!

Original X3D scene: Example05.x3d

X_ITE Console