Class BulletJoint3D<T, K>
The BulletJoint3D is a base class for all 3D joints implemented by Bullet.
Inheritance
BulletJoint3D<T, K>
Implements
Inherited Members
Namespace: Evergine.Bullet
Assembly: Evergine.Bullet.dll
Syntax
public abstract class BulletJoint3D<T, K> : BulletJoint3D, IJoint3D where T : TypedConstraint where K : JointDef3D
Type Parameters
Name | Description |
---|---|
T | The Bullet joint type. |
K | The interface joint definition type. |
Constructors
BulletJoint3D(BulletPhysicManager3D, K)
Initializes a new instance of the BulletJoint3D<T, K> class.
Declaration
public BulletJoint3D(BulletPhysicManager3D simulation, K def)
Parameters
Type | Name | Description |
---|---|---|
BulletPhysicManager3D | simulation | The bullet simulation instance. |
K | def | The joint definition. |
Fields
def
The interface joint definition.
Declaration
protected K def
Field Value
Type | Description |
---|---|
K |
joint
The Bullet joint.
Declaration
protected T joint
Field Value
Type | Description |
---|---|
T |
Properties
BreakingImpulseThreshold
Gets or sets the amount of force that a joint can take before break.
Declaration
public override float BreakingImpulseThreshold { get; set; }
Property Value
Type | Description |
---|---|
float |
Overrides
InternalJoint
Gets the Bullet internal joint.
Declaration
public override object InternalJoint { get; }
Property Value
Type | Description |
---|---|
object |
Overrides
Methods
CreateJoint()
Instantiate joint.
Declaration
protected abstract T CreateJoint()
Returns
Type | Description |
---|---|
T | The new joint. |