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 Bullet
Declaration
public BulletFixedJoint3D(BulletPhysicManager3D simulation, FixedJointDef3D def)
Parameters
Type | Name | Description |
---|---|---|
Bullet |
simulation | The bullet simulation instance. |
Fixed |
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 |
---|---|
Fixed |
The new joint. |
Overrides
SetFrames(Matrix4x4, Matrix4x4)
Set frames.
Declaration
public void SetFrames(Matrix4x4 frameA, Matrix4x4 frameB)