Apply 3D transformation relative to pivot point