UNPKG

planck-js

Version:

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

105 lines (56 loc) 2.79 kB
[Planck.js API Doc](../README.md) › [Globals](../globals.md) › [FrictionJointDef](frictionjointdef.md) # Interface: FrictionJointDef ## Hierarchy ↳ [JointDef](jointdef.md) ↳ [FrictionJointOpt](frictionjointopt.md) ↳ **FrictionJointDef** ## Index ### Properties * [bodyA](frictionjointdef.md#bodya) * [bodyB](frictionjointdef.md#bodyb) * [collideConnected](frictionjointdef.md#optional-collideconnected) * [localAnchorA](frictionjointdef.md#localanchora) * [localAnchorB](frictionjointdef.md#localanchorb) * [maxForce](frictionjointdef.md#maxforce) * [maxTorque](frictionjointdef.md#maxtorque) * [userData](frictionjointdef.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:153](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L153)* ___ ### localAnchorB**localAnchorB**: *[Vec2](../classes/vec2.md)* *Defined in [joint/index.d.ts:154](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L154)* ___ ### maxForce • **maxForce**: *number* *Inherited from [FrictionJointOpt](frictionjointopt.md).[maxForce](frictionjointopt.md#maxforce)* *Defined in [joint/index.d.ts:148](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L148)* ___ ### maxTorque**maxTorque**: *number* *Inherited from [FrictionJointOpt](frictionjointopt.md).[maxTorque](frictionjointopt.md#maxtorque)* *Defined in [joint/index.d.ts:149](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L149)* ___ ### `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)*