Search Results for

    Show / Hide Table of Contents

    Class BulletGearJoint3D

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

    Inheritance
    object
    BulletJoint3D
    BulletJoint3D<GearConstraint, GearJointDef3D>
    BulletGearJoint3D
    Implements
    IGearJoint3D
    IJoint3D
    Inherited Members
    BulletJoint3D<GearConstraint, GearJointDef3D>.joint
    BulletJoint3D<GearConstraint, GearJointDef3D>.def
    BulletJoint3D<GearConstraint, GearJointDef3D>.BreakingImpulseThreshold
    BulletJoint3D<GearConstraint, GearJointDef3D>.InternalJoint
    BulletJoint3D<GearConstraint, GearJointDef3D>.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 class BulletGearJoint3D : BulletJoint3D<GearConstraint, GearJointDef3D>, IGearJoint3D, IJoint3D

    Constructors

    BulletGearJoint3D(BulletPhysicManager3D, GearJointDef3D)

    Initializes a new instance of the BulletGearJoint3D class.

    Declaration
    public BulletGearJoint3D(BulletPhysicManager3D simulation, GearJointDef3D def)
    Parameters
    Type Name Description
    BulletPhysicManager3D simulation

    The bullet simulation instance.

    GearJointDef3D def

    The definition.

    Properties

    AxisInA

    Gets or sets the axis in A.

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

    AxisInB

    Gets or sets the axis in B.

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

    Ratio

    Gets or sets the A:B gear ratio.

    Declaration
    public float Ratio { get; set; }
    Property Value
    Type Description
    float

    Methods

    CreateJoint()

    Instantiate joint.

    Declaration
    protected override GearConstraint CreateJoint()
    Returns
    Type Description
    GearConstraint

    The new joint.

    Overrides
    BulletJoint3D<GearConstraint, GearJointDef3D>.CreateJoint()

    Implements

    IGearJoint3D
    IJoint3D

    Extension Methods

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