Skip to content
Roblox API Reference

CylindricalConstraint

Constrains two attachments on two parts to have a relative linear and rotational motion.
Memory category
BaseParts
Own members
17
Inherited members
98
Subclasses
0
Siblings
2

Properties61

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Inherited fromConstraint6

Property categoryAppearance

Property categoryAttachments

Property categoryBehavior

  • Indicates if the constraint is currently active in the world.
    • Read only
    • Read capabilities: Physics
    • Simulation access
  • Toggles whether or not the constraint is enabled.
    • Read capabilities: Physics
    • Simulation access
Inherited fromSlidingBallConstraint15

Property categoryAppearance

Property categoryDerived

Property categoryLimits

Property categoryMotor

Property categoryServo

Property categorySlider

Defined byCylindricalConstraint17

Property categoryAngularLimits

  • CylindricalConstraint.AngularRestitution: number = 0
    Restitution of the two limits, or how elastic they are.
    • Read capabilities: Physics
    • Simulation access
  • CylindricalConstraint.LowerAngle: number = -45
    Lower limit for the angle (in degrees) between the reference axis and the SecondaryAxis of Attachment1 around the rotation axis.
    • Read capabilities: Physics
    • Simulation access
  • CylindricalConstraint.UpperAngle: number = 45
    Upper limit for the angle (in degrees) between the reference axis and the secondary axis of Attachment1 around the rotation axis.
    • Read capabilities: Physics
    • Simulation access

Property categoryAngularMotor

  • CylindricalConstraint.AngularVelocity: number = 0
    The target angular velocity of the motor in radians per second around the rotation axis.
    • Read capabilities: Physics
    • Simulation access
  • CylindricalConstraint.MotorMaxAngularAcceleration: number = 500000
    The maximum angular acceleration of the motor in radians per second squared.
    • Read capabilities: Physics
    • Simulation access
  • CylindricalConstraint.MotorMaxTorque: number = 0
    The maximum torque the motor can apply to achieve the target angular velocity.
    • Read capabilities: Physics
    • Simulation access

Property categoryAngularServo

  • CylindricalConstraint.AngularResponsiveness: number = 45
    Specifies the sharpness of the angular servo motor in reaching the TargetAngle.
    • Read capabilities: Physics
    • Simulation access
  • CylindricalConstraint.AngularSpeed: number = 0
    Target angular speed. This value is unsigned as the servo will always move toward its target. In radians per second.
    • Read capabilities: Physics
    • Simulation access
  • CylindricalConstraint.ServoMaxTorque: number = 0
    Maximum torque the servo motor can apply.
    • Read capabilities: Physics
    • Simulation access
  • CylindricalConstraint.TargetAngle: number = 0
    Target angle (in degrees) between the reference axis and the secondary axis of Attachment1 around the rotation axis.
    • Read capabilities: Physics
    • Simulation access
  • CylindricalConstraint.SoftlockAngularServoUponReachingTarget: boolean = false
    Deprecated: This property should not be used in new work.
    • Deprecated
    • Read capabilities: Physics
    • Simulation access

Property categoryAppearance

  • CylindricalConstraint.RotationAxisVisible: boolean = false
    Enable the visibility of the rotation axis.
    • Read capabilities: Physics

Property categoryCylinder

  • CylindricalConstraint.AngularActuatorType: Enum.ActuatorType = Enum.ActuatorType.None
    Type of angular actuator.
    • Read capabilities: Physics
    • Simulation access
  • CylindricalConstraint.AngularLimitsEnabled: boolean = false
    Enables the angular limits around the rotation axis.
    • Read capabilities: Physics
    • Simulation access
  • CylindricalConstraint.InclinationAngle: number = 0
    Direction of the rotation axis as an angle from the X axis in the XY plane of Attachment0.
    • Read capabilities: Physics
    • Simulation access

Property categoryDerived

  • CylindricalConstraint.CurrentAngle: number = 0
    Signed angle (in degrees) between the reference axis and the secondary axis of Attachment1 around the rotation axis.
    • Read only
    • Read capabilities: Physics
    • Save only
    • Simulation access
  • CylindricalConstraint.WorldRotationAxis: Vector3 = Vector3.new(1, 0, 0)
    The unit vector direction of the rotation axis in world coordinates.
    • Read only
    • Read capabilities: Physics
    • Save only
    • Simulation access

Methods44

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Inherited fromConstraint2

Events10

Inherited fromObject1
Inherited fromInstance9