Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2RelativeJoint

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

initialize

isValid

onDisable

  • onDisable(): void

onEnable

  • onEnable(): void

setAngularOffset

  • setAngularOffset(v: number): void

setCorrectionFactor

  • setCorrectionFactor(v: number): void

setLinearOffset

  • setLinearOffset(v: Vec2): void

setMaxForce

  • setMaxForce(v: number): void

setMaxTorque

  • setMaxTorque(v: number): void

start

  • start(): void

Generated using TypeDoc