Virtual physics laboratory - simulation of rigid body motion (Gdańsk University of Technology)