Generic6DoFConstraint Class
Namespace: Stride.PhysicsAssembly: Stride.Physics.dll
public class Generic6DoFConstraint : Constraint, IDisposable, IRelative
Name | Description | |
---|---|---|
Constructors | ||
Generic6DoFConstraint() | Initializes a new instance of the Generic6DoFConstraint class. |
|
Properties | ||
AngularLowerLimit | Gets or sets the angular lower limit. |
|
AngularUpperLimit | Gets or sets the angular upper limit. |
|
LinearLowerLimit | Gets or sets the linear lower limit. |
|
LinearUpperLimit | Gets or sets the linear upper limit. |
|
RotationalLimitMotor | Gets the rotational limit motor. |
|
TranslationalLimitMotor | Gets the translational limit motor. |
|
Methods | ||
Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
|
SetFrames(Matrix, Matrix) | Sets the frames. |
|
SetLimit(Int32, Single, Single) | Sets the limit. |
Constructors
Generic6DoFConstraint()
Initializes a new instance of the Generic6DoFConstraint class.
public Generic6DoFConstraint()
Properties
AngularLowerLimit
Gets or sets the angular lower limit.
public Vector3 AngularLowerLimit { get; set; }
Property Value
Type | Description |
---|---|
Vector3 | The angular lower limit. |
AngularUpperLimit
Gets or sets the angular upper limit.
public Vector3 AngularUpperLimit { get; set; }
Property Value
Type | Description |
---|---|
Vector3 | The angular upper limit. |
LinearLowerLimit
Gets or sets the linear lower limit.
public Vector3 LinearLowerLimit { get; set; }
Property Value
Type | Description |
---|---|
Vector3 | The linear lower limit. |
LinearUpperLimit
Gets or sets the linear upper limit.
public Vector3 LinearUpperLimit { get; set; }
Property Value
Type | Description |
---|---|
Vector3 | The linear upper limit. |
RotationalLimitMotor
Gets the rotational limit motor.
public RotationalLimitMotor[] RotationalLimitMotor { get; }
Property Value
Type | Description |
---|---|
RotationalLimitMotor[] | The rotational limit motor. |
TranslationalLimitMotor
Gets the translational limit motor.
public TranslationalLimitMotor TranslationalLimitMotor { get; }
Property Value
Type | Description |
---|---|
TranslationalLimitMotor | The translational limit motor. |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public override void Dispose()
Overrides
SetFrames(Matrix, Matrix)
Sets the frames.
public void SetFrames(Matrix frameA, Matrix frameB)
Parameters
Type | Name | Description |
---|---|---|
Matrix | frameA | The frame a. |
Matrix | frameB | The frame b. |
SetLimit(Int32, Single, Single)
Sets the limit.
public void SetLimit(int axis, float lo, float hi)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | axis | The axis. |
System.Single | lo | The lo. |
System.Single | hi | The hi. |