1.5 KiB
Planck.js API Doc › Globals › JointEdge
Class: JointEdge
A joint edge is used to connect bodies and joints together in a joint graph where each body is a node and each joint is an edge. A joint edge belongs to a doubly linked list maintained in each attached body. Each joint has two joint nodes, one for each attached body.
Hierarchy
- JointEdge
Index
Properties
Properties
joint
• joint: Joint‹› = null as Joint | null
Defined in src/dynamics/Joint.ts:46
the joint
next
• next: JointEdge‹› = null as JointEdge | null
Defined in src/dynamics/Joint.ts:54
the next joint edge in the body's joint list
other
• other: Body‹› = null as Body | null
Defined in src/dynamics/Joint.ts:42
provides quick access to the other body attached.
prev
• prev: JointEdge‹› = null as JointEdge | null
Defined in src/dynamics/Joint.ts:50
prev the previous joint edge in the body's joint list