Skip to content
InterfaceTypes & Utilities@public

FlxPhysicsPrismaticJointDefinition ​

Slider constraint along a world-space axis.

ts
export interface FlxPhysicsPrismaticJointDefinition extends FlxPhysicsJointDefinitionBase

Properties ​

PropertyModifiersTypeDescription
anchorreadonlyFlxPhysicsVector-
axisreadonlyFlxPhysicsVector-
enableLimitreadonlyboolean-
enableMotorreadonlyboolean-
lowerTranslationreadonlynumber-
maxMotorForcereadonlynumber-
motorSpeedreadonlynumber-
typereadonly'prismatic'-
upperTranslationreadonlynumber-

Released under the MIT License.