Table of Contents

Class Generic6DoFConstraint

Namespace
Stride.Physics
Assembly
Stride.Physics.dll
public class Generic6DoFConstraint : Constraint, IDisposable, IRelative
Inheritance
Generic6DoFConstraint
Implements
Derived
Inherited Members
Extension Methods

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

Vector3

The angular lower limit.

AngularUpperLimit

Gets or sets the angular upper limit.

public Vector3 AngularUpperLimit { get; set; }

Property Value

Vector3

The angular upper limit.

LinearLowerLimit

Gets or sets the linear lower limit.

public Vector3 LinearLowerLimit { get; set; }

Property Value

Vector3

The linear lower limit.

LinearUpperLimit

Gets or sets the linear upper limit.

public Vector3 LinearUpperLimit { get; set; }

Property Value

Vector3

The linear upper limit.

RotationalLimitMotor

Gets the rotational limit motor.

public RotationalLimitMotor[] RotationalLimitMotor { get; }

Property Value

RotationalLimitMotor[]

The rotational limit motor.

TranslationalLimitMotor

Gets the translational limit motor.

public TranslationalLimitMotor TranslationalLimitMotor { get; }

Property Value

TranslationalLimitMotor

The translational limit motor.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public override void Dispose()

SetFrames(Matrix, Matrix)

Sets the frames.

public void SetFrames(Matrix frameA, Matrix frameB)

Parameters

frameA Matrix

The frame a.

frameB Matrix

The frame b.

SetLimit(int, float, float)

Sets the limit.

public void SetLimit(int axis, float lo, float hi)

Parameters

axis int

The axis.

lo float

The lo.

hi float

The hi.