//--------------------------------------------------------------
        #region Creation & Cleanup
        //--------------------------------------------------------------

        /// <summary>
        /// Initializes a new instance of the <see cref="PointOnPlaneConstraint"/> class.
        /// </summary>
        public PointOnPlaneConstraint()
        {
            _linearLimit = new LinearLimit
            {
                Minimum = new Vector3F(float.NegativeInfinity, float.NegativeInfinity, 0),
                Maximum = new Vector3F(float.PositiveInfinity, float.PositiveInfinity, 0),
            };
        }
Пример #2
0
 //--------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of the <see cref="PointOnPlaneConstraint"/> class.
 /// </summary>
 public PointOnPlaneConstraint()
 {
     _linearLimit = new LinearLimit
       {
     Minimum = new Vector3F(float.NegativeInfinity, float.NegativeInfinity, 0),
     Maximum = new Vector3F(float.PositiveInfinity, float.PositiveInfinity, 0),
       };
 }
Пример #3
0
        //--------------------------------------------------------------
        #region Creation & Cleanup
        //--------------------------------------------------------------

        /// <summary>
        /// Initializes a new instance of the <see cref="PrismaticJoint"/> class.
        /// </summary>
        public PrismaticJoint()
        {
            _linearLimit = new LinearLimit
            {
                Minimum = new Vector3F(float.NegativeInfinity, 0, 0),
                Maximum = new Vector3F(float.PositiveInfinity, 0, 0),
            };
            _angularLimit = new AngularLimit
            {
                Minimum = new Vector3F(0, 0, 0),
                Maximum = new Vector3F(0, 0, 0),
            };
        }
Пример #4
0
 //--------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of the <see cref="PrismaticJoint"/> class.
 /// </summary>
 public PrismaticJoint()
 {
     _linearLimit = new LinearLimit
       {
     Minimum = new Vector3F(float.NegativeInfinity, 0, 0),
     Maximum = new Vector3F(float.PositiveInfinity, 0, 0),
       };
       _angularLimit = new AngularLimit
       {
     Minimum = new Vector3F(0, 0, 0),
     Maximum = new Vector3F(0, 0, 0),
       };
 }
Пример #5
0
 //--------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of the <see cref="FixedJoint"/> class.
 /// </summary>
 public FixedJoint()
 {
     _linearLimit = new LinearLimit
       {
     Minimum = new Vector3F(0, 0, 0),
     Maximum = new Vector3F(0, 0, 0),
       };
       _angularLimit = new AngularLimit
       {
     Minimum = new Vector3F(0, 0, 0),
     Maximum = new Vector3F(0, 0, 0),
       };
 }
Пример #6
0
 //--------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of the <see cref="Hinge2Joint"/> class.
 /// </summary>
 public Hinge2Joint()
 {
     _linearLimit = new LinearLimit
       {
     Minimum = new Vector3F(0, 0, 0),
     Maximum = new Vector3F(0, 0, 0),
       };
       _angularLimit = new AngularLimit
       {
     Minimum = new Vector3F(-ConstantsF.PiOver4, 0, float.NegativeInfinity),
     Maximum = new Vector3F(ConstantsF.PiOver4, 0, float.PositiveInfinity),
       };
 }
Пример #7
0
        //public float RelativePosition
        //{
        //  get { return _angularLimit.RelativePosition.X; }
        //}
        #endregion


        //--------------------------------------------------------------
        #region Creation & Cleanup
        //--------------------------------------------------------------

        /// <summary>
        /// Initializes a new instance of the <see cref="Hinge2Joint"/> class.
        /// </summary>
        public Hinge2Joint()
        {
            _linearLimit = new LinearLimit
            {
                Minimum = new Vector3F(0, 0, 0),
                Maximum = new Vector3F(0, 0, 0),
            };
            _angularLimit = new AngularLimit
            {
                Minimum = new Vector3F(-ConstantsF.PiOver4, 0, float.NegativeInfinity),
                Maximum = new Vector3F(ConstantsF.PiOver4, 0, float.PositiveInfinity),
            };
        }
Пример #8
0
 //--------------------------------------------------------------
 /// <summary>
 /// Initializes a new instance of the <see cref="UniversalJoint"/> class.
 /// </summary>
 public UniversalJoint()
 {
     _linearLimit = new LinearLimit
       {
     Minimum = new Vector3F(0, 0, 0),
     Maximum = new Vector3F(0, 0, 0),
       };
       _angularLimit = new AngularLimit
       {
     Minimum = new Vector3F(-ConstantsF.PiOver4, 0, -ConstantsF.PiOver4),
     Maximum = new Vector3F(ConstantsF.PiOver4, 0, ConstantsF.PiOver4),
       };
 }
Пример #9
0
        //--------------------------------------------------------------
        #region Creation & Cleanup
        //--------------------------------------------------------------

        /// <summary>
        /// Initializes a new instance of the <see cref="FixedJoint"/> class.
        /// </summary>
        public FixedJoint()
        {
            _linearLimit = new LinearLimit
            {
                Minimum = new Vector3F(0, 0, 0),
                Maximum = new Vector3F(0, 0, 0),
            };
            _angularLimit = new AngularLimit
            {
                Minimum = new Vector3F(0, 0, 0),
                Maximum = new Vector3F(0, 0, 0),
            };
        }
Пример #10
0
        //public float RelativePosition
        //{
        //  get { return _angularLimit.RelativePosition.X; }
        //}
        #endregion


        //--------------------------------------------------------------
        #region Creation & Cleanup
        //--------------------------------------------------------------

        /// <summary>
        /// Initializes a new instance of the <see cref="UniversalJoint"/> class.
        /// </summary>
        public UniversalJoint()
        {
            _linearLimit = new LinearLimit
            {
                Minimum = new Vector3F(0, 0, 0),
                Maximum = new Vector3F(0, 0, 0),
            };
            _angularLimit = new AngularLimit
            {
                Minimum = new Vector3F(-ConstantsF.PiOver4, 0, -ConstantsF.PiOver4),
                Maximum = new Vector3F(ConstantsF.PiOver4, 0, ConstantsF.PiOver4),
            };
        }