Gestures are natural means of co mmun ication between humans, and therefore their application would benefit to many fields where usage of typical input devices, such as keyboards or joysticks is cu mbersome or unpractical (e.g., in noisy environ ment). Recently, together with emergence of new cameras that allow obtaining not only colour images of observed scene, but also offer the software developer rich informat ion on the number of seen hu mans and, what is most interesting, 3D positions of their body parts, practical applications using body gestures have become more popular. Such informat ion is presented in a form o f skeletal data. In this paper, an approach to gesture recognition bas ed on skeletal data using nearest neighbour classifier with dynamic time warping is presented. Since similar approaches are widely used in the literature, a few practical improvements that led to better recognition results are proposed. The approach is extensively evaluated on three publicly availab le gesture datasets and compared with state-of-the-art classifiers. For some gesture datasets, the proposed approach outperformed its competitors in terms of recognition rate and time of recognition.