PrismaticJointConfig
Defined in: physics/src/types.ts:133
Slider with optional limits in pixels along its axis.
Extends
Section titled “Extends”Properties
Section titled “Properties”anchorA?
Section titled “anchorA?”
optionalanchorA?:Vec2Like
Defined in: physics/src/types.ts:79
Attachment point on body A in local pixels. Default: body origin.
Inherited from
Section titled “Inherited from”anchorB?
Section titled “anchorB?”
optionalanchorB?:Vec2Like
Defined in: physics/src/types.ts:81
Attachment point on body B in local pixels. Default: body origin.
Inherited from
Section titled “Inherited from”axis:
Vec2Like
Defined in: physics/src/types.ts:136
Non-zero axis local to body A, normalized internally.
collide?
Section titled “collide?”
optionalcollide?:boolean
Defined in: physics/src/types.ts:83
Whether the connected bodies collide. Default: false for fixed joints, true otherwise.
Inherited from
Section titled “Inherited from”limits?
Section titled “limits?”
optionallimits?:JointLimits
Defined in: physics/src/types.ts:137
motor?
Section titled “motor?”
optionalmotor?:JointMotorConfig
Defined in: physics/src/types.ts:138
type:
"prismatic"
Defined in: physics/src/types.ts:134
Coding agents: fetch https://yage.dev/llms.txt first and prefer the Markdown references it links over these HTML pages. This page's Markdown counterpart is /llms/packages/physics.md.