예제 #1
0
        //--------------------------------------------------------------
        /// <summary>
        /// Initializes a new instance of the <see cref="CollisionDetection"/> class.
        /// </summary>
        public CollisionDetection()
        {
            Epsilon = 0.001f;
              ContactPositionTolerance = 0.01f;
              ContactFilter = new ContactReducer();
              ContinuousCollisionDetectionMode = ContinuousCollisionDetectionMode.Linear;

              // This property must be updated last because it uses "this".
              AlgorithmMatrix = new CollisionAlgorithmMatrix(this);
        }