The last two chapters have discussed how animation and interaction can be created in Java
3D to increase visual impact, to show object dynamics and hidden views, and to allow the
user to interact with the objects in a virtual 3D universe (Emoto et al., 2001, Shyamsundar
& Gadh, 2001). Our discussion has been carried in a general tone through the use of the
behavior class to capture all types of events to cater to all possibilities.
However, it is common that interaction with 3D objects in many applications involves
the user to pick up relevant objects and change its positions, angles, and even texture and
Figure 1. Illustration of picking behavior when the user picks and moves the cube