Skip to content

RodConstraint

Supported Class Physics

Keeps two attachments separated by its defined Length.

Description

A RodConstraint keeps two attachments separated by its defined Length. By default, both attachments can rotate freely, although you can enable limits to restrict rotational tilt.

Note that if this constraint attaches one part (A) to another part (B) that is anchored or connected to an anchored part (Z), part A will not be locally simulated when interacting with a player.

Limits

You can limit rotation of the attachments within a cone, independently of each other, by enabling the LimitsEnabled property and setting LimitAngle0 and LimitAngle1 respectively.

Inheritance

Object → Instance → Constraint → RodConstraint

Nova inheritance: Instance → Constraint → RodConstraint

Properties

CurrentDistance Supported Property The current distance between the constraint's Attachments.
CurrentDistance: float

The current distance between the constraint's Attachments.

Roblox documentation

Length Supported Property The distance apart at which the constraint attempts to keep its Attachments.
Length: float

The distance apart at which the constraint attempts to keep its Attachments. Measured in studs.

Roblox documentation

LimitAngle0 Supported Property The maximum angle between the rod and Attachment0 when LimitsEnabled is true.
LimitAngle0: float

This property determines the maximum angle between the rod and Attachment0 when LimitsEnabled is true.

Roblox documentation

LimitAngle1 Supported Property The maximum angle between the rod and Attachment1 when LimitsEnabled is true.
LimitAngle1: float

This property determines the maximum angle between the rod and Attachment1 when LimitsEnabled is true.

Roblox documentation

LimitsEnabled Supported Property Determines whether LimitAngle0 and LimitAngle1 control the angles between the rod and the respective attachments.
LimitsEnabled: bool

Determines whether LimitAngle0 and LimitAngle1 control the angles between the rod and the respective attachments.

This property determines whether the LimitAngle0 and LimitAngle1 properties control the angles between the rod and the respective attachments.

Roblox documentation

Thickness Supported Property The visualized thickness of the RodConstraint.
Thickness: float

The visualized thickness of the RodConstraint.

Roblox documentation

Inherited members

Inherited from Constraint: 14 properties, 36 methods, 7 events. They are documented on the base class page.

Roblox reference: RodConstraint

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.