planck-js
Version:
2D JavaScript physics engine for cross-platform HTML5 game development
93 lines (50 loc) • 2.31 kB
Markdown
[Planck.js API Doc](../README.md) › [Globals](../globals.md) › [PrismaticJointOpt](prismaticjointopt.md)
# Interface: PrismaticJointOpt
## Hierarchy
* [JointOpt](jointopt.md)
↳ **PrismaticJointOpt**
↳ [PrismaticJointDef](prismaticjointdef.md)
## Index
### Properties
* [collideConnected](prismaticjointopt.md#optional-collideconnected)
* [enableLimit](prismaticjointopt.md#enablelimit)
* [enableMotor](prismaticjointopt.md#enablemotor)
* [lowerTranslation](prismaticjointopt.md#lowertranslation)
* [maxMotorForce](prismaticjointopt.md#maxmotorforce)
* [motorSpeed](prismaticjointopt.md#motorspeed)
* [upperTranslation](prismaticjointopt.md#uppertranslation)
* [userData](prismaticjointopt.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)*
___
### enableLimit
• **enableLimit**: *boolean*
*Defined in [joint/index.d.ts:362](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L362)*
___
### enableMotor
• **enableMotor**: *boolean*
*Defined in [joint/index.d.ts:365](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L365)*
___
### lowerTranslation
• **lowerTranslation**: *number*
*Defined in [joint/index.d.ts:363](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L363)*
___
### maxMotorForce
• **maxMotorForce**: *number*
*Defined in [joint/index.d.ts:366](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L366)*
___
### motorSpeed
• **motorSpeed**: *number*
*Defined in [joint/index.d.ts:367](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L367)*
___
### upperTranslation
• **upperTranslation**: *number*
*Defined in [joint/index.d.ts:364](https://github.com/shakiba/planck.js/blob/038d425/lib/joint/index.d.ts#L364)*
___
### `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)*