Esempio n. 1
0
        internal RopeJoint(RopeJointDef def) : base(def)
        {
            _localAnchorA = def.LocalAnchorA;
            _localAnchorB = def.LocalAnchorB;

            _maxLength = def.MaxLength;

            _mass    = 0.0f;
            _impulse = 0.0f;
            _state   = LimitState.InactiveLimit;
            _length  = 0.0f;
        }
Esempio n. 2
0
        internal RopeJoint(RopeJointDef def)
            : base(def)
        {
            _localAnchorA = def.LocalAnchorA;
            _localAnchorB = def.LocalAnchorB;

            _maxLength = def.MaxLength;

            _mass    = 0.0f;
            _impulse = 0.0f;
            _length  = 0.0f;
        }