public static PxVec3 GetControllerPosition(IntPtr p) { var position = new PxVec3(); PhysXDll.GetControllerPosition(p, ref position); return(position); }