public static PhysicsScene CreateScene() { IntPtr p = PhysXDll.CreateScene(); PhysicsScene scene = new PhysicsScene(p); scenes[p] = scene; return(scene); }