Search Results for

    Show / Hide Table of Contents

    Class BulletAbstractGeneric6DofJoint3D<T, K, J>

    The BulletJoint3D is a base class for all 3D joints implemented by Bullet.

    Inheritance
    object
    BulletJoint3D
    BulletJoint3D<T, K>
    BulletAbstractGeneric6DofJoint3D<T, K, J>
    BulletGeneric6DofJoint3D
    BulletGeneric6DofSpringJoint3D
    Implements
    IJoint3D
    Inherited Members
    BulletJoint3D<T, K>.joint
    BulletJoint3D<T, K>.def
    BulletJoint3D<T, K>.BreakingImpulseThreshold
    BulletJoint3D<T, K>.InternalJoint
    BulletJoint3D<T, K>.CreateJoint()
    BulletJoint3D.simulation
    BulletJoint3D.OnBroke
    BulletJoint3D.InternalJoint
    BulletJoint3D.BodyA
    BulletJoint3D.BodyB
    BulletJoint3D.AppliedImpulse
    BulletJoint3D.DebugDrawSize
    BulletJoint3D.NeedsFeedback
    BulletJoint3D.JointFeedback
    BulletJoint3D.OverrideNumSolverIterations
    BulletJoint3D.IsEnabled
    BulletJoint3D.BreakingImpulseThreshold
    BulletJoint3D.Dispose()
    Namespace: Evergine.Bullet
    Assembly: Evergine.Bullet.dll
    Syntax
    public abstract class BulletAbstractGeneric6DofJoint3D<T, K, J> : BulletJoint3D<T, K>, IJoint3D where T : Generic6DofConstraint where K : GenericAbstract6DofJointDef3D<J> where J : IGeneric6DofJoint3D
    Type Parameters
    Name Description
    T

    The bullet constraint type.

    K

    The def type.

    J

    The joint interface.

    Constructors

    BulletAbstractGeneric6DofJoint3D(BulletPhysicManager3D, K)

    Initializes a new instance of the BulletAbstractGeneric6DofJoint3D<T, K, J> class.

    Declaration
    public BulletAbstractGeneric6DofJoint3D(BulletPhysicManager3D simulation, K def)
    Parameters
    Type Name Description
    BulletPhysicManager3D simulation

    The bullet simulation instance.

    K def

    The definition.

    Properties

    AngularLowerLimit

    Gets or sets the angular lower limit.

    Declaration
    public Vector3 AngularLowerLimit { get; set; }
    Property Value
    Type Description
    Vector3

    AngularUpperLimit

    Gets or sets the angular upper limit.

    Declaration
    public Vector3 AngularUpperLimit { get; set; }
    Property Value
    Type Description
    Vector3

    Flags

    Gets the flags.

    Declaration
    public int Flags { get; }
    Property Value
    Type Description
    int

    FrameOffsetA

    Gets the frame offset A.

    Declaration
    public Matrix4x4 FrameOffsetA { get; }
    Property Value
    Type Description
    Matrix4x4

    FrameOffsetB

    Gets the frame offset B.

    Declaration
    public Matrix4x4 FrameOffsetB { get; }
    Property Value
    Type Description
    Matrix4x4

    LinearLowerLimit

    Gets or sets the linear lower limit.

    Declaration
    public Vector3 LinearLowerLimit { get; set; }
    Property Value
    Type Description
    Vector3

    LinearUpperLimit

    Gets or sets the linear upper limit.

    Declaration
    public Vector3 LinearUpperLimit { get; set; }
    Property Value
    Type Description
    Vector3

    UseFrameOffset

    Gets or sets a value indicating whether the frame offsets are enabled.

    Declaration
    public bool UseFrameOffset { get; set; }
    Property Value
    Type Description
    bool

    UseLinearReferenceFrameA

    Gets or sets a value indicating whether the joint use A as a Frame reference.

    Declaration
    public bool UseLinearReferenceFrameA { get; set; }
    Property Value
    Type Description
    bool

    Methods

    CreateJoint()

    Instantiate joint.

    Declaration
    protected override T CreateJoint()
    Returns
    Type Description
    T

    The new joint.

    Overrides
    BulletJoint3D<T, K>.CreateJoint()

    GetAngle(DOFType)

    Gets the angle of the axis.

    Declaration
    public float GetAngle(DOFType axisIndex)
    Parameters
    Type Name Description
    DOFType axisIndex

    Axis index 0:X 1:Y 2:Z.

    Returns
    Type Description
    float

    The angle.

    GetAxis(DOFType)

    Gets the axis.

    Declaration
    public Vector3 GetAxis(DOFType axisIndex)
    Parameters
    Type Name Description
    DOFType axisIndex

    Axis index 0:X 1:Y 2:Z.

    Returns
    Type Description
    Vector3

    The axis.

    IsLimited(DOFType)

    Checks if an axis is limited.

    Declaration
    public bool IsLimited(DOFType axisIndex)
    Parameters
    Type Name Description
    DOFType axisIndex

    Axis index 0:X 1:Y 2:Z.

    Returns
    Type Description
    bool

    if the axis is limited.

    SetAxis(Vector3, Vector3)

    Set axis.

    Declaration
    public void SetAxis(Vector3 axis1, Vector3 axis2)
    Parameters
    Type Name Description
    Vector3 axis1

    The axis 1.

    Vector3 axis2

    The axis 2.

    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.

    SetLimit(DOFType, float, float)

    Sets the axis.

    Declaration
    public void SetLimit(DOFType axis, float low, float high)
    Parameters
    Type Name Description
    DOFType axis

    Axis index 0:X 1:Y 2:Z.

    float low

    The low limit.

    float high

    The high limit.

    Implements

    IJoint3D

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX