UNPKG

planck-js

Version:

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

75 lines (40 loc) 1.81 kB
[Planck.js API Doc](../README.md) › [Globals](../globals.md) › [MotorJointOpt](motorjointopt.md) # Interface: MotorJointOpt ## Hierarchy * [JointOpt](jointopt.md) ↳ **MotorJointOpt** ↳ [MotorJointDef](motorjointdef.md) ## Index ### Properties * [collideConnected](motorjointopt.md#optional-collideconnected) * [correctionFactor](motorjointopt.md#correctionfactor) * [linearOffset](motorjointopt.md#linearoffset) * [maxForce](motorjointopt.md#maxforce) * [maxTorque](motorjointopt.md#maxtorque) * [userData](motorjointopt.md#optional-userdata) ## Properties ### `Optional` collideConnected**collideConnected**? : *boolean* *Inherited from [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)* ___ ### correctionFactor • **correctionFactor**: *number* *Defined in [joint/index.d.ts:251](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L251)* ___ ### linearOffset**linearOffset**: *[Vec2](../classes/vec2.md)* *Defined in [joint/index.d.ts:252](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L252)* ___ ### maxForce • **maxForce**: *number* *Defined in [joint/index.d.ts:249](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L249)* ___ ### maxTorque**maxTorque**: *number* *Defined in [joint/index.d.ts:250](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L250)* ___ ### `Optional` userData • **userData**? : *any* *Inherited from [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)*