Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2GearJoint

Hierarchy

Index

Constructors

constructor

Properties

Readonly m_JvAC

m_JvAC: b2Vec2 = new b2Vec2()

Readonly m_JvBD

m_JvBD: b2Vec2 = new b2Vec2()

m_JwA

m_JwA: number = 0

m_JwB

m_JwB: number = 0

m_JwC

m_JwC: number = 0

m_JwD

m_JwD: number = 0

m_bodyA

m_bodyA: b2Body

m_bodyB

m_bodyB: b2Body

m_bodyC

m_bodyC: b2Body

m_bodyD

m_bodyD: b2Body

m_collideConnected

m_collideConnected: boolean = false

m_constant

m_constant: number = 0

Readonly m_edgeA

m_edgeA: b2JointEdge = new b2JointEdge(this)

Readonly m_edgeB

m_edgeB: b2JointEdge = new b2JointEdge(this)

m_iA

m_iA: number = 0

m_iB

m_iB: number = 0

m_iC

m_iC: number = 0

m_iD

m_iD: number = 0

m_impulse

m_impulse: number = 0

m_index

m_index: number = 0

m_indexA

m_indexA: number = 0

m_indexB

m_indexB: number = 0

m_indexC

m_indexC: number = 0

m_indexD

m_indexD: number = 0

m_islandFlag

m_islandFlag: boolean = false

m_joint1

m_joint2

Readonly m_lalcA

m_lalcA: b2Vec2 = new b2Vec2()

Readonly m_lalcB

m_lalcB: b2Vec2 = new b2Vec2()

Readonly m_lalcC

m_lalcC: b2Vec2 = new b2Vec2()

Readonly m_lalcD

m_lalcD: b2Vec2 = new b2Vec2()

Readonly m_lcA

m_lcA: b2Vec2 = new b2Vec2()

Readonly m_lcB

m_lcB: b2Vec2 = new b2Vec2()

Readonly m_lcC

m_lcC: b2Vec2 = new b2Vec2()

Readonly m_lcD

m_lcD: b2Vec2 = new b2Vec2()

Readonly m_localAnchorA

m_localAnchorA: b2Vec2 = new b2Vec2()

Readonly m_localAnchorB

m_localAnchorB: b2Vec2 = new b2Vec2()

Readonly m_localAnchorC

m_localAnchorC: b2Vec2 = new b2Vec2()

Readonly m_localAnchorD

m_localAnchorD: b2Vec2 = new b2Vec2()

Readonly m_localAxisC

m_localAxisC: b2Vec2 = new b2Vec2()

Readonly m_localAxisD

m_localAxisD: b2Vec2 = new b2Vec2()

m_mA

m_mA: number = 0

m_mB

m_mB: number = 0

m_mC

m_mC: number = 0

m_mD

m_mD: number = 0

m_mass

m_mass: number = 0

m_next

m_next: b2Joint | null = null

m_prev

m_prev: b2Joint | null = null

Readonly m_qA

m_qA: b2Rot = new b2Rot()

Readonly m_qB

m_qB: b2Rot = new b2Rot()

Readonly m_qC

m_qC: b2Rot = new b2Rot()

Readonly m_qD

m_qD: b2Rot = new b2Rot()

m_ratio

m_ratio: number = 0

m_referenceAngleA

m_referenceAngleA: number = 0

m_referenceAngleB

m_referenceAngleB: number = 0

Readonly m_type

m_type: b2JointType = b2JointType.e_unknownJoint

m_typeA

m_typeA: b2JointType = b2JointType.e_unknownJoint

m_typeB

m_typeB: b2JointType = b2JointType.e_unknownJoint

m_userData

m_userData: any = null

Static Private InitVelocityConstraints_s_rA

InitVelocityConstraints_s_rA: b2Vec2 = new b2Vec2()

Static Private InitVelocityConstraints_s_rB

InitVelocityConstraints_s_rB: b2Vec2 = new b2Vec2()

Static Private InitVelocityConstraints_s_rC

InitVelocityConstraints_s_rC: b2Vec2 = new b2Vec2()

Static Private InitVelocityConstraints_s_rD

InitVelocityConstraints_s_rD: b2Vec2 = new b2Vec2()

Static Private InitVelocityConstraints_s_u

InitVelocityConstraints_s_u: b2Vec2 = new b2Vec2()

Static Private SolvePositionConstraints_s_rA

SolvePositionConstraints_s_rA: b2Vec2 = new b2Vec2()

Static Private SolvePositionConstraints_s_rB

SolvePositionConstraints_s_rB: b2Vec2 = new b2Vec2()

Static Private SolvePositionConstraints_s_rC

SolvePositionConstraints_s_rC: b2Vec2 = new b2Vec2()

Static Private SolvePositionConstraints_s_rD

SolvePositionConstraints_s_rD: b2Vec2 = new b2Vec2()

Static Private SolvePositionConstraints_s_u

SolvePositionConstraints_s_u: b2Vec2 = new b2Vec2()

Methods

Dump

  • Dump(log: (format: string, ...args: any[]) => void): void
  • Parameters

    • log: (format: string, ...args: any[]) => void
        • (format: string, ...args: any[]): void
        • Parameters

          • format: string
          • Rest ...args: any[]

          Returns void

    Returns void

GetAnchorA

  • GetAnchorA<T>(out: T): T
  • Type parameters

    Parameters

    • out: T

    Returns T

GetAnchorB

  • GetAnchorB<T>(out: T): T
  • Type parameters

    Parameters

    • out: T

    Returns T

GetBodyA

  • Returns b2Body

GetBodyB

  • Returns b2Body

GetCollideConnected

  • GetCollideConnected(): boolean

GetJoint1

GetJoint2

GetNext

  • Returns b2Joint | null

GetRatio

  • GetRatio(): number
  • Returns number

GetReactionForce

  • GetReactionForce<T>(inv_dt: number, out: T): T
  • Type parameters

    Parameters

    • inv_dt: number
    • out: T

    Returns T

GetReactionTorque

  • GetReactionTorque(inv_dt: number): number
  • Parameters

    • inv_dt: number

    Returns number

GetType

GetUserData

  • GetUserData(): any
  • Returns any

InitVelocityConstraints

IsActive

  • IsActive(): boolean
  • Returns boolean

SetRatio

  • SetRatio(ratio: number): void
  • Parameters

    • ratio: number

    Returns void

SetUserData

  • SetUserData(data: any): void
  • Parameters

    • data: any

    Returns void

ShiftOrigin

  • ShiftOrigin(newOrigin: XY): void
  • Parameters

    • newOrigin: XY

    Returns void

SolvePositionConstraints

SolveVelocityConstraints

Generated using TypeDoc