Added p3d positioning