/**
  *  @brief Instantiates a 2D physics for tests purpose.
  **/
 internal static void InitTest2D()
 {
     instance                = new Physics2DWorldManager();
     instance.Gravity        = new FPVector(0, -10, 0);
     instance.LockedTimeStep = 0.02f;
     instance.Init();
 }
Пример #2
0
        // IPhysicsManager's PROXY

        public static void Init()
        {
            if (m_Instance != null)
            {
                m_Instance.Init();
            }
        }