Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PointToPointConstraint

Hierarchy

Index

Constructors

constructor

Properties

Readonly TYPE

获取此关节的类型。

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

关节类型的枚举。

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