Options
All
  • Public
  • Public/Protected
  • All
Menu

The pulley joint is connected to two bodies and two fixed ground points. The pulley supports a ratio such that: length1 + ratio length2 <= constant Yes, the force transmitted is scaled by the ratio. The pulley also enforces a maximum length limit on both sides. This is useful to prevent one side of the pulley hitting the top.

Hierarchy

Index

Constructors

Methods

  • GetLength1(): number
  • GetLength2(): number
  • GetRatio(): number
  • GetReactionForce(inv_dt: number): b2Vec2
  • GetReactionTorque(inv_dt: number): number
  • GetType(): number
  • GetUserData(): any
  • IsActive(): boolean
  • SetUserData(data: any): void

Generated using TypeDoc