/// <summary> /// Set damping to one or all translational ordinary degrees of freedom /// (not including controllers) of this constraint. /// </summary> /// <param name="damping">New damping.</param> /// <param name="dof">Specific translational degree of freedom or all.</param> public void SetDamping(float damping, TranslationalDof dof) { TraverseRowData(data => data.Damping = damping, dof); }
/// <summary> /// Set force range to one or all translational ordinary degrees of freedom /// (not including controllers) of this constraint. /// </summary> /// <param name="forceRange">New force range.</param> /// <param name="dof">Specific translational degree of freedom or all.</param> public void SetForceRange(RangeReal forceRange, TranslationalDof dof) { TraverseRowData(data => data.ForceRange = forceRange, dof); }
/// <summary> /// Set compliance to one or all translational ordinary degrees of freedom /// (not including controllers) of this constraint. /// </summary> /// <param name="compliance">New compliance.</param> /// <param name="dof">Specific translational degree of freedom or all.</param> public void SetCompliance(float compliance, TranslationalDof dof) { TraverseRowData(data => data.Compliance = compliance, dof); }