Skip to content
Roblox API Reference

RopeConstraint

Simulates rope dynamics, preventing two attachments from separating further than a defined length.
Memory category
BaseParts
Own members
9
Inherited members
83
Subclasses
0
Siblings
18

Properties38

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
Defined byRopeConstraint9

Property categoryAppearance

  • RopeConstraint.Thickness: number = 0.100000001
    The visualized thickness of the RopeConstraint.
    • Read capabilities: Physics
    • Simulation access

Property categoryDerived

  • RopeConstraint.CurrentDistance: number = 0
    The current distance between the constraint's Attachments.
    • Read only
    • Read capabilities: Physics
    • Save only
    • Simulation access

Property categoryRope

  • RopeConstraint.Length: number = 5
    The maximum distance apart the two Attachments can be.
    • Read capabilities: Physics
    • Simulation access
  • RopeConstraint.Restitution: number = 0
    Elasticity of the Attachments connected by the constraint when reaching the maximum defined Length. Constrained between 0 and 1.
    • Read capabilities: Physics
    • Simulation access
  • RopeConstraint.WinchEnabled: boolean = false
    Enables the winch motor.
    • Read capabilities: Physics
    • Simulation access

Property categoryWinch

  • RopeConstraint.WinchForce: number = 10000
    The maximum force that the winch motor can apply.
    • Read capabilities: Physics
    • Simulation access
  • RopeConstraint.WinchResponsiveness: number = 45
    The sharpness of the winch motor in reaching the WinchTarget.
    • Read capabilities: Physics
    • Simulation access
  • RopeConstraint.WinchSpeed: number = 2
    A positive desired velocity at which the winch motor changes the rope length.
    • Read capabilities: Physics
    • Simulation access
  • RopeConstraint.WinchTarget: number = 5
    The target length for the winch motor.
    • Read capabilities: Physics
    • 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