InterfaceTypes & Utilities@public
PhysicsPrismaticJointDefinition
Serializable prismatic joint. Linear values use logical pixels.
ts
export interface PhysicsPrismaticJointDefinition extends PhysicsJointBaseDefinitionProperties
| Property | Modifiers | Type | Description |
|---|---|---|---|
anchor | - | PhysicsVectorDefinition | - |
axis | - | PhysicsVectorDefinition | - |
enableLimit | - | boolean | - |
enableMotor | - | boolean | - |
lowerTranslation | - | number | - |
maxMotorForce | - | number | - |
motorSpeed | - | number | - |
type | - | 'prismatic' | - |
upperTranslation | - | number | - |