Class GenericAbstract6DofJoint3D<T, K>
This class represent a 3D physics joint and connects two entities together. All Joints restrict some degrees of freedom, seeking a specific configuration.
Inherited Members
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public abstract class GenericAbstract6DofJoint3D<T, K> : Joint3D<T, K>, IDependencyObject, IDisposable where T : IGeneric6DofJoint3D where K : GenericAbstract6DofJointDef3D<T>, new()
  Type Parameters
| Name | Description | 
|---|---|
| T | The joint interface.  | 
      
| K | The definition type.  | 
      
Constructors
GenericAbstract6DofJoint3D()
Initializes a new instance of the GenericAbstract6DofJoint3D<T, K> class.
Declaration
public GenericAbstract6DofJoint3D()
  Properties
Anchor
Gets or sets the local anchor point relative to bodyA's origin.
Declaration
public Vector3 Anchor { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Vector3 | 
AutoConfigureConnected
Gets or sets a value indicating whether.
Declaration
[RenderProperty(Tag = 1)]
public bool AutoConfigureConnected { get; set; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
Axis
Gets or sets the hinge axis.
Declaration
public Vector3 Axis { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Vector3 | 
ConnectedAnchor
Gets or sets the local anchor point relative to bodyA's origin.
Declaration
[RenderProperty(AttachToTag = 1, AttachToValue = false)]
public Vector3 ConnectedAnchor { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Vector3 | 
ConnectedAxis
Gets or sets the local anchor point relative to bodyA's origin.
Declaration
[RenderProperty(AttachToTag = 1, AttachToValue = false)]
public Vector3 ConnectedAxis { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Vector3 | 
LowerAngularLimit
Gets or sets the low limit.
Declaration
[RenderProperty(AttachToValue = true, AttachToTag = 2, ConverterType = typeof(Vector3RadianToDegreeConverter))]
public Vector3 LowerAngularLimit { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Vector3 | 
LowerLinearLimit
Gets or sets the low limit.
Declaration
[RenderProperty(AttachToValue = true, AttachToTag = 3)]
public Vector3 LowerLinearLimit { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Vector3 | 
UpperAngularLimit
Gets or sets the low limit.
Declaration
[RenderProperty(AttachToValue = true, AttachToTag = 2, ConverterType = typeof(Vector3RadianToDegreeConverter))]
public Vector3 UpperAngularLimit { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Vector3 | 
UpperLinearLimit
Gets or sets the low limit.
Declaration
[RenderProperty(AttachToValue = true, AttachToTag = 3)]
public Vector3 UpperLinearLimit { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Vector3 | 
UseAngularLimit
Gets or sets a value indicating whether.
Declaration
[RenderProperty(Tag = 2)]
public bool UseAngularLimit { get; set; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
UseLinearLimit
Gets or sets a value indicating whether.
Declaration
[RenderProperty(Tag = 3)]
public bool UseLinearLimit { get; set; }
  Property Value
| Type | Description | 
|---|---|
| bool | 
Methods
BodyAChanged()
Body A is changed.
Declaration
protected override void BodyAChanged()
  Overrides
BodyBChanged()
Body B is changed.
Declaration
protected override void BodyBChanged()
  Overrides
FillJointDef(K)
Fill joint def values.
Declaration
protected override bool FillJointDef(K jointDef)
  Parameters
| Type | Name | Description | 
|---|---|---|
| K | jointDef | The generated joint values.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | The result.  | 
      
Overrides
InitJoint()
Init joint.
Declaration
protected override void InitJoint()