Example #1
0
 public RotationalLimitMotor2(RotationalLimitMotor2 limitMotor)
 {
     _native = btRotationalLimitMotor2_new2(limitMotor._native);
 }
		public RotationalLimitMotor2(RotationalLimitMotor2 limitMotor)
		{
			_native = btRotationalLimitMotor2_new2(limitMotor._native);
		}
		public RotationalLimitMotor2 GetRotationalLimitMotor(int index)
		{
            if (_angularLimits[index] == null)
            {
                _angularLimits[index] = new RotationalLimitMotor2(btGeneric6DofSpring2Constraint_getRotationalLimitMotor(_native, index), true);
            }
            return _angularLimits[index];
		}
        public RotationalLimitMotor2(RotationalLimitMotor2 limitMotor)
        {
            IntPtr native = btRotationalLimitMotor2_new2(limitMotor.Native);

            InitializeUserOwned(native);
        }