Beispiel #1
0
        internal WeldJoint(WeldJointDef def) : base(def)
        {
            _localAnchorA   = def.LocalAnchorA;
            _localAnchorB   = def.LocalAnchorB;
            _referenceAngle = def.ReferenceAngle;
            _frequencyHz    = def.FrequencyHz;
            _dampingRatio   = def.DampingRatio;

            _impulse.SetZero();
        }
        internal WeldJoint(WeldJointDef def)
            : base(def)
        {
            _localAnchorA   = def.LocalAnchorA;
            _localAnchorB   = def.LocalAnchorB;
            _referenceAngle = def.ReferenceAngle;
            Damping         = def.Damping;
            Stiffness       = def.Stiffness;

            _impulse.SetZero();
        }