Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <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);
 }
Ejemplo n.º 3
0
 /// <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);
 }