|
| proto external void | SetLimit (int limitIndex, float limitValue) |
| |
| proto external void | SetLimits (float swingSpan1, float swingSpan2, float twistSpan, float softness, float biasFactor, float relaxationFactor) |
| |
| proto external void | SetLimit (int limitIndex, float limitValue) |
| |
| proto external void | SetLimits (float swingSpan1, float swingSpan2, float twistSpan, float softness, float biasFactor, float relaxationFactor) |
| |
◆ SetLimit() [1/2]
| proto external void SetLimit |
( |
int |
limitIndex, |
|
|
float |
limitValue |
|
) |
| |
|
private |
Sets span values of limits. Span represents range from -limit to limit.
- Parameters
-
| limitIndex | Index of the limit (3 - twist, 4 - swing2, 5 - swing1) |
| limitValue | Value of the limit |
◆ SetLimit() [2/2]
| proto external void SetLimit |
( |
int |
limitIndex, |
|
|
float |
limitValue |
|
) |
| |
|
private |
Sets span values of limits. Span represents range from -limit to limit.
- Parameters
-
| limitIndex | Index of the limit (3 - twist, 4 - swing2, 5 - swing1) |
| limitValue | Value of the limit |
◆ SetLimits() [1/2]
Sets various joint parameters. Span value represents range from -limit to limit.
- Parameters
-
| swingSpan1 | Value of the swing1 limit (along z-axis) |
| swingSpan2 | Value of the swing2 limit (along y-axis) |
| twistSpan | Value of the twist limit (along x-axis) |
| softness | Softness of the joint. See details |
| biasFactor | Bias factor of the joint. See details |
| relaxationFactor | Relaxation factor of the joint. See details |
◆ SetLimits() [2/2]
Sets various joint parameters. Span value represents range from -limit to limit.
- Parameters
-
| swingSpan1 | Value of the swing1 limit (along z-axis) |
| swingSpan2 | Value of the swing2 limit (along y-axis) |
| twistSpan | Value of the twist limit (along x-axis) |
| softness | Softness of the joint. See details |
| biasFactor | Bias factor of the joint. See details |
| relaxationFactor | Relaxation factor of the joint. See details |
The documentation for this class was generated from the following file: