Updated physx2 physics plugin with new features from physx3 branch.