A CylinderSensor node senses a cursor drag and generates rotations as if rotating a cylinder isActive - sends true/false when mouse button pressed/released rotation_changed - sends rotation during a drag Transform { children [ DEF Rotator CylinderSensor { } DEF RotateMe Transform { . . . } ] } ROUTE Rotator.rotation_changed TO RotateMe.set_rotation
Transform { children [ DEF Rotator CylinderSensor { } DEF RotateMe Transform { . . . } ] } ROUTE Rotator.rotation_changed TO RotateMe.set_rotation