Class BulletFixedJoint3D
The BulletJoint3D is a base class for all 3D joints implemented by Bullet.
Inherited Members
Namespace: Evergine.Bullet
Assembly: Evergine.Bullet.dll
Syntax
public class BulletFixedJoint3D : BulletJoint3D<FixedConstraint, FixedJointDef3D>, IFixedJoint3D, IJoint3D, IDisposable
Constructors
BulletFixedJoint3D(BulletPhysicManager3D, FixedJointDef3D)
Initializes a new instance of the BulletFixedJoint3D class.
Declaration
public BulletFixedJoint3D(BulletPhysicManager3D simulation, FixedJointDef3D def)
Parameters
Type | Name | Description |
---|---|---|
BulletPhysicManager3D | simulation | The bullet simulation instance. |
FixedJointDef3D | def | The definition. |
Properties
FrameOffsetA
Gets the frame offset for body A.
Declaration
public Matrix4x4 FrameOffsetA { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
FrameOffsetB
Gets the frame offset for body B.
Declaration
public Matrix4x4 FrameOffsetB { get; }
Property Value
Type | Description |
---|---|
Matrix4x4 |
Methods
CreateJoint()
Instantiate joint.
Declaration
protected override FixedConstraint CreateJoint()
Returns
Type | Description |
---|---|
FixedConstraint | The new joint. |
Overrides
SetFrames(Matrix4x4, Matrix4x4)
Set frames.
Declaration
public void SetFrames(Matrix4x4 frameA, Matrix4x4 frameB)
Parameters
Type | Name | Description |
---|---|---|
Matrix4x4 | frameA | The frame A. |
Matrix4x4 | frameB | The frame B. |
Implements
Evergine.Framework.Physics3D.IFixedJoint3D
Evergine.Framework.Physics3D.IJoint3D