#VRML V2.0 utf8 ## ##@* cone ##@ group (with sensor) Group { children [ DEF SENSOR PlaneSensor { maxPosition 0.45 0.45 minPosition -0.45 -0.45 } ##@ cone DEF OBJECT Transform { children [ DirectionalLight { direction 1 0 -1 color 1 1 1 } Shape { appearance Appearance { material Material { diffuseColor 0 1 1 } } geometry Cone { height 0.1 bottomRadius 0.05 } } ] } ] } ##@ event routing ROUTE SENSOR.translation_changed TO OBJECT.set_translation ##