#VRML V2.0 utf8 NavigationInfo { type "NONE" headlight TRUE } Background { skyColor 0.9765 0.8203 0.6328 } Group { children [ DEF TR_Cube Transform { translation 0 0 0 rotation 0.44 -0.68 -0.57 1.03 children DEF Cube Shape { geometry Box {size 4 4 4} appearance Appearance { material Material { diffuseColor 1 0 0 } } } } DEF SPHS_cube SphereSensor { offset 0.44 -0.68 -0.57 1.03 } ] } ROUTE SPHS_cube.rotation_changed TO TR_Cube.set_rotation