#X3D V4.0 utf8 PROFILE Full # Testcase from https://github.com/castle-engine/castle-model-viewer/issues/55 Viewpoint { fieldOfView .4 centerOfRotation 0 1 0 position -5.875 5.34 6.9 orientation -.64157 -.76 -.1 .8758 } Shape { appearance Appearance { material Material {} } geometry Box {} } DEF CR Transform { children Transform { translation .056 -.037 -.2 children Shape { geometry DEF COPYRIGHT Text { string "Box (C) 28.04.2023 Elmar Knittel" fontStyle FontStyle { size 0.00213 family "SANS" justify "END" } } } } } DEF PS ProximitySensor { size 1e4 1e4 1e4 } ROUTE PS.position_changed TO CR.set_translation ROUTE PS.orientation_changed TO CR.set_rotation