UNPKG

planck-js

Version:

2D JavaScript physics engine for cross-platform HTML5 game development

94 lines (50 loc) 2.42 kB
[Planck.js API Doc](../README.md) › [Globals](../globals.md) › [RopeJointDef](ropejointdef.md) # Interface: RopeJointDef ## Hierarchy ↳ [JointDef](jointdef.md) ↳ [RopeJointOpt](ropejointopt.md) ↳ **RopeJointDef** ## Index ### Properties * [bodyA](ropejointdef.md#bodya) * [bodyB](ropejointdef.md#bodyb) * [collideConnected](ropejointdef.md#optional-collideconnected) * [localAnchorA](ropejointdef.md#localanchora) * [localAnchorB](ropejointdef.md#localanchorb) * [maxLength](ropejointdef.md#maxlength) * [userData](ropejointdef.md#optional-userdata) ## Properties ### bodyA**bodyA**: *[Body](../classes/body.md)* *Inherited from [JointDef](jointdef.md).[bodyA](jointdef.md#bodya)* *Defined in [joint/index.d.ts:56](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L56)* ___ ### bodyB • **bodyB**: *[Body](../classes/body.md)* *Inherited from [JointDef](jointdef.md).[bodyB](jointdef.md#bodyb)* *Defined in [joint/index.d.ts:57](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L57)* ___ ### `Optional` collideConnected**collideConnected**? : *boolean* *Inherited from [JointOpt](jointopt.md).[collideConnected](jointopt.md#optional-collideconnected)* *Overrides [JointOpt](jointopt.md).[collideConnected](jointopt.md#optional-collideconnected)* *Defined in [joint/index.d.ts:52](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L52)* ___ ### localAnchorA • **localAnchorA**: *[Vec2](../classes/vec2.md)* *Defined in [joint/index.d.ts:543](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L543)* ___ ### localAnchorB**localAnchorB**: *[Vec2](../classes/vec2.md)* *Defined in [joint/index.d.ts:544](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L544)* ___ ### maxLength • **maxLength**: *number* *Inherited from [RopeJointOpt](ropejointopt.md).[maxLength](ropejointopt.md#maxlength)* *Defined in [joint/index.d.ts:539](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L539)* ___ ### `Optional` userData**userData**? : *any* *Inherited from [JointOpt](jointopt.md).[userData](jointopt.md#optional-userdata)* *Overrides [JointOpt](jointopt.md).[userData](jointopt.md#optional-userdata)* *Defined in [joint/index.d.ts:51](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L51)*