Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2HingeJoint

Hierarchy

Implements

Index

Properties

Protected _b2joint

_b2joint: b2.Joint | null = null

Protected _body

_body: RigidBody2D | null = null

Protected _jointComp

_jointComp: Joint2D | null = null

Accessors

body

comp

impl

Methods

createJointDef

destroy

  • _destroy(): void

init

  • _init(): void

enableLimit

  • enableLimit(v: boolean): void

enableMotor

  • enableMotor(v: boolean): void

initialize

isValid

onDisable

  • onDisable(): void

onEnable

  • onEnable(): void

setLowerAngle

  • setLowerAngle(v: number): void

setMaxMotorTorque

  • setMaxMotorTorque(v: number): void

setMotorSpeed

  • setMotorSpeed(v: number): void

setUpperAngle

  • setUpperAngle(v: number): void

start

  • start(): void

updateLimits

  • updateLimits(): void

Generated using TypeDoc