Class PointToPointJoint3D
This class represent a 3D physics joint and connects two entities together. All Joints restrict some degrees of freedom, seeking a specific configuration.
Inheritance
PointToPointJoint3D
  Inherited Members
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public class PointToPointJoint3D : Joint3D<IPointToPointJoint3D, PointToPointJointDef3D>, IDependencyObject, IDisposable
  Constructors
PointToPointJoint3D()
Initializes a new instance of the PointToPointJoint3D class.
Declaration
public PointToPointJoint3D()
  Properties
Anchor
Gets or sets the local anchor point relative to current body.
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 | 
ConnectedAnchor
Gets or sets the local anchor point relative to connected body's origin.
Declaration
[RenderProperty(AttachToTag = 1, AttachToValue = false)]
public Vector3 ConnectedAnchor { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Vector3 | 
Methods
BodyAChanged()
Body A is changed.
Declaration
protected override void BodyAChanged()
  Overrides
BodyBChanged()
Body B is changed.
Declaration
protected override void BodyBChanged()
  Overrides
FillJointDef(PointToPointJointDef3D)
Fill joint def values.
Declaration
protected override bool FillJointDef(PointToPointJointDef3D jointDef)
  Parameters
| Type | Name | Description | 
|---|---|---|
| PointToPointJointDef3D | jointDef | The generated joint values.  | 
      
Returns
| Type | Description | 
|---|---|
| bool | The result.  | 
      
Overrides
InitJoint()
Initialize joint.
Declaration
protected override void InitJoint()