RodConstraint
Keeps two attachments separated by its defined Length.
Memory category | PhysicsParts |
---|
Member index 6
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.
History 25
- 553 Change Default of Thickness from to 0.100000001
- 553 Change Default of LimitsEnabled from to false
- 553 Change Default of LimitAngle1 from to 90
- 553 Change Default of LimitAngle0 from to 90
- 553 Change Default of Length from to 5
- 553 Change Default of CurrentDistance from to 0
- 486 Change ThreadSafety of Thickness from ReadOnly to ReadSafe
- 486 Change ThreadSafety of LimitsEnabled from ReadOnly to ReadSafe
- 486 Change ThreadSafety of LimitAngle1 from ReadOnly to ReadSafe
- 486 Change ThreadSafety of LimitAngle0 from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Length from ReadOnly to ReadSafe
- 486 Change ThreadSafety of CurrentDistance from ReadOnly to ReadSafe
- 467 Add LimitsEnabled
- 467 Add LimitAngle1
- 467 Add LimitAngle0
- 462 Change ThreadSafety of Thickness from to ReadOnly
- 462 Change ThreadSafety of Length from to ReadOnly
- 462 Change ThreadSafety of CurrentDistance from to ReadOnly
- 454 Change MemoryCategory of RodConstraint from Instances to PhysicsParts
- 452 Change MemoryCategory of RodConstraint from PhysicsParts to Instances
- 453 Change MemoryCategory of RodConstraint from Instances to PhysicsParts
- 261 Add Thickness
- 241 Add Length
- 241 Add CurrentDistance
- 241 Add RodConstraint
Members 6
CurrentDistance
Type | Default | |
---|---|---|
float | 0 |
The current distance between the constraint's Attachments.
Thread safety | ReadSafe |
---|---|
Category | Derived |
Loaded/Saved | false/true |
History 4
- 553 Change Default of CurrentDistance from to 0
- 486 Change ThreadSafety of CurrentDistance from ReadOnly to ReadSafe
- 462 Change ThreadSafety of CurrentDistance from to ReadOnly
- 241 Add CurrentDistance
Length
Type | Default | |
---|---|---|
float | 5 |
The distance apart at which the constraint attempts to keep its Attachments. Measured in studs.
Thread safety | ReadSafe |
---|---|
Category | Rod |
Loaded/Saved | true |
LimitAngle0
Type | Default | |
---|---|---|
float | 90 |
This property determines the maximum angle between the rod and Attachment0 when LimitsEnabled is true.
Thread safety | ReadSafe |
---|---|
Category | Limits |
Loaded/Saved | true |
History 3
- 553 Change Default of LimitAngle0 from to 90
- 486 Change ThreadSafety of LimitAngle0 from ReadOnly to ReadSafe
- 467 Add LimitAngle0
LimitAngle1
Type | Default | |
---|---|---|
float | 90 |
This property determines the maximum angle between the rod and Attachment1 when LimitsEnabled is true.
Thread safety | ReadSafe |
---|---|
Category | Limits |
Loaded/Saved | true |
History 3
- 553 Change Default of LimitAngle1 from to 90
- 486 Change ThreadSafety of LimitAngle1 from ReadOnly to ReadSafe
- 467 Add LimitAngle1
LimitsEnabled
Type | Default | |
---|---|---|
bool | false |
This property determines whether the LimitAngle0 and LimitAngle1 properties control the angles between the rod and the respective attachments.
Thread safety | ReadSafe |
---|---|
Category | Rod |
Loaded/Saved | true |
History 3
- 553 Change Default of LimitsEnabled from to false
- 486 Change ThreadSafety of LimitsEnabled from ReadOnly to ReadSafe
- 467 Add LimitsEnabled
Thickness
Type | Default | |
---|---|---|
float | 0.100000001 |
The visualized thickness of the RodConstraint.
Thread safety | ReadSafe |
---|---|
Category | Appearance |
Loaded/Saved | true |