public FixedMouseJoint(FixedMouseJointDef def) : base(def) { _targetB = def.Target; _localAnchorA = MathUtils.MulT(_bodyB._xf, _targetB); _maxForce = def.MaxForce; _stiffness = def.Stiffness; _damping = def.Damping; }
/// <summary> /// Initializes a new instance of the <see cref="FixedMouseJoint" /> class /// </summary> /// <param name="def">The def</param> public FixedMouseJoint(FixedMouseJointDef def) : base(def) { targetB = def.Target; localAnchorA = MathUtils.MulT(BodyB.Xf, targetB); maxForce = def.MaxForce; stiffness = def.Stiffness; damping = def.Damping; }