Skip to content
InterfaceTypes & Utilities@public

PhysicsPrismaticJointDefinition ​

Serializable prismatic joint. Linear values use logical pixels.

ts
export interface PhysicsPrismaticJointDefinition extends PhysicsJointBaseDefinition

Properties ​

PropertyModifiersTypeDescription
anchor-PhysicsVectorDefinition-
axis-PhysicsVectorDefinition-
enableLimit-boolean-
enableMotor-boolean-
lowerTranslation-number-
maxMotorForce-number-
motorSpeed-number-
type-'prismatic'-
upperTranslation-number-

Released under the MIT License.