Salut,
The other trick is to give the VRML model the same model id and submodel id as its associated model. Then the openState is identical, so there would be no need to copy the transformation matrix. Again, this only works for rigid rotations.
Eric Pettersen
UCSF Computer Graphics Lab