Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PointToPointConstraint

Hierarchy

Index

Constructors

constructor

Properties

Readonly TYPE

Gets the type of this joint.

Protected _connectedBody

_connectedBody: RigidBody | null = null

Protected _constraint

_constraint: IBaseConstraint | null = null

Protected _enableCollision

_enableCollision: boolean = true

Private Readonly _pivotA

_pivotA: Vec3 = new Vec3()

Private Readonly _pivotB

_pivotB: Vec3 = new Vec3()

Static Readonly Type

Type: EnumAlias<typeof EConstraintType> = EConstraintType

Enumeration of joint types.

Accessors

attachedBody

connectedBody

constraint

  • get constraint(): IPointToPointConstraint

enableCollision

  • get enableCollision(): boolean
  • set enableCollision(v: boolean): void

pivotA

pivotB

Methods

Protected onDestroy

  • onDestroy(): void

Protected onDisable

  • onDisable(): void

Protected onEnable

  • onEnable(): void

Protected onLoad

  • onLoad(): void

Generated using TypeDoc