Options
All
  • Public
  • Public/Protected
  • All
Menu

Class b2SpringJoint

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

setDampingRatio

  • setDampingRatio(v: number): void

setDistance

  • setDistance(v: number): void

setFrequency

  • setFrequency(v: number): void

start

  • start(): void

Generated using TypeDoc