planck-js
Version:
2D JavaScript/TypeScript physics engine for cross-platform HTML5 game development
50 lines (26 loc) • 962 B
Markdown
# Interface: PulleyJointOpt
Pulley joint definition. This requires two ground anchors, two dynamic body
anchor points, and a pulley ratio.
## Extends
- [`JointOpt`](/api/interfaces/JointOpt)
## Extended by
- [`PulleyJointDef`](/api/interfaces/PulleyJointDef)
## Properties
### collideConnected?
> `optional` **collideConnected**: `boolean`
Set this flag to true if the attached bodies
should collide.
#### Inherited from
[`JointOpt`](/api/interfaces/JointOpt).[`collideConnected`](/api/interfaces/JointOpt#collideconnected)
***
### style?
> `optional` **style**: [`Style`](/api/interfaces/Style)
Styling for dev-tools.
#### Inherited from
[`JointOpt`](/api/interfaces/JointOpt).[`style`](/api/interfaces/JointOpt#style)
***
### userData?
> `optional` **userData**: `any`
Use this to attach application specific data to your joints.
#### Inherited from
[`JointOpt`](/api/interfaces/JointOpt).[`userData`](/api/interfaces/JointOpt#userdata)