Class BulletPointToPointJoint3D
The BulletJoint3D is a base class for all 3D joints implemented by Bullet.
Inheritance
BulletPointToPointJoint3D
Inherited Members
Namespace: Evergine.Bullet
Assembly: Evergine.Bullet.dll
Syntax
public class BulletPointToPointJoint3D : BulletJoint3D<Point2PointConstraint, PointToPointJointDef3D>, IPointToPointJoint3D, IJoint3D, IDisposable
Constructors
BulletPointToPointJoint3D(BulletPhysicManager3D, PointToPointJointDef3D)
Initializes a new instance of the BulletPointToPointJoint3D class.
Declaration
public BulletPointToPointJoint3D(BulletPhysicManager3D simulation, PointToPointJointDef3D def)
Parameters
Type | Name | Description |
---|---|---|
BulletPhysicManager3D | simulation | The bullet simulation instance. |
PointToPointJointDef3D | def | The definition. |
Properties
LocalAnchorA
Gets or sets the local anchor point relative to bodyA's origin.
Declaration
public Vector3 LocalAnchorA { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
LocalAnchorB
Gets or sets the local anchor point relative to bodyB's origin.
Declaration
public Vector3 LocalAnchorB { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Methods
CreateJoint()
Instantiate joint.
Declaration
protected override Point2PointConstraint CreateJoint()
Returns
Type | Description |
---|---|
Point2PointConstraint | The new joint. |
Overrides
Implements
Evergine.Framework.Physics3D.IPointToPointJoint3D
Evergine.Framework.Physics3D.IJoint3D