I've now included functionality for attaching an object to an another object. This was made in order to allow the crane to lift the bomb in the simulator. After implementing this functionality I realized that the current simulation does not look very realistic.
After looking at several possible solutions for implementing physics simulation in Java3D, I've come across a library called
OdeJava. This is a Java "port" of the
Open Dynamics Engine, an open source alternative to commercial physics engines like
Havok. I will try to include this engine into the application and see how well it behaves.
In the screenshot below you can see that I've placed the car with its front down into the water with the nuclear warhead on its back. The second screenshow shows that the warhead has been picked up by the crane. But what am I supposed to to with it? I'll just leave it up there for now.