ported 3d physics examples to lua