Interface IGeneric6DofJoint3D
Interface for a 6 Dof 3D joint physics.
Inherited Members
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public interface IGeneric6DofJoint3D : IJoint3D, IDisposable
Properties
AngularLowerLimit
Gets or sets the angular lower limit.
Declaration
Vector3 AngularLowerLimit { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
AngularUpperLimit
Gets or sets the angular upper limit.
Declaration
Vector3 AngularUpperLimit { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Flags
Gets the flags.
Declaration
int Flags { get; }
Property Value
Type | Description |
---|---|
int |
FrameOffsetA
Gets the frame offset A.
Declaration
Matrix4x4 FrameOffsetA { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
FrameOffsetB
Gets the frame offset B.
Declaration
Matrix4x4 FrameOffsetB { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
LinearLowerLimit
Gets or sets the linear lower limit.
Declaration
Vector3 LinearLowerLimit { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
LinearUpperLimit
Gets or sets the linear upper limit.
Declaration
Vector3 LinearUpperLimit { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
UseFrameOffset
Gets or sets a value indicating whether the frame offsets are enabled.
Declaration
bool UseFrameOffset { get; set; }
Property Value
Type | Description |
---|---|
bool |
UseLinearReferenceFrameA
Gets or sets a value indicating whether the joint use A as a Frame reference.
Declaration
bool UseLinearReferenceFrameA { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
GetAngle(DOFType)
Gets the angle of the axis.
Declaration
float GetAngle(DOFType axisIndex)
Parameters
Type | Name | Description |
---|---|---|
DOFType | axisIndex | Axis index 0:X 1:Y 2:Z. |
Returns
Type | Description |
---|---|
float | The angle. |
GetAxis(DOFType)
Gets the axis.
Declaration
Vector3 GetAxis(DOFType axisIndex)
Parameters
Type | Name | Description |
---|---|---|
DOFType | axisIndex | Axis index 0:X 1:Y 2:Z. |
Returns
Type | Description |
---|---|
Vector3 | The axis. |
IsLimited(DOFType)
Checks if an axis is limited.
Declaration
bool IsLimited(DOFType axisIndex)
Parameters
Type | Name | Description |
---|---|---|
DOFType | axisIndex | Axis index 0:X 1:Y 2:Z. |
Returns
Type | Description |
---|---|
bool | if the axis is limited. |
SetAxis(Vector3, Vector3)
Set axis.
Declaration
void SetAxis(Vector3 axis1, Vector3 axis2)
Parameters
SetFrames(Matrix4x4, Matrix4x4)
Set frames.
Declaration
void SetFrames(Matrix4x4 frameA, Matrix4x4 frameB)
Parameters
SetLimit(DOFType, float, float)
Sets the axis.
Declaration
void SetLimit(DOFType axis, float low, float high)
Parameters
Type | Name | Description |
---|---|---|
DOFType | axis | Axis index 0:X 1:Y 2:Z. |
float | low | The low limit. |
float | high | The high limit. |