X3D for Web Authors,
Chapter 08 - User Interactivity:
Key Sensor - Lefty
A KeySensor is used to change Viewpoints of the shark Lefty.
Install an X3D plugin to see this example...
launch
X3D
X3DV
X3DB
links
VRML97
XHTML
C14N