NoCollisionConstraint
An instance used to prevent collisions between two specific parts.
Memory category | PhysicsParts |
---|
Member index 3
Description
The NoCollisionConstraint prevents collisions between two specific parts, but those parts may still register collisions with the rest of the world. Compared to collision groups, it provides a direct way to disable specific collisions, such as the wheel of a car scraping against the car's body.
The most common way to create this constraint is by selecting No Collision through Studio's Create menu in the Model tab.
Unlike most constraints, NoCollisionConstraint does not utilize any Attachments. Note that the tool acts differently based on how many parts are selected when the tool is activated:
Option | Tool Behavior |
No parts selected | The next two parts that are clicked will be linked together. If the same part is clicked twice, no link will be created. |
One part selected | The next part that is clicked will be linked to the selected part. |
Two parts selected | Both selected parts will be linked together. |
History 16
- 553 Change Default of Part1 from to
- 553 Change Default of Part0 from to
- 553 Change Default of Enabled from to true
- 486 Change ThreadSafety of Part1 from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Part0 from ReadOnly to ReadSafe
- 486 Change ThreadSafety of Enabled from ReadOnly to ReadSafe
- 462 Change ThreadSafety of Part1 from to ReadOnly
- 462 Change ThreadSafety of Part0 from to ReadOnly
- 462 Change ThreadSafety of Enabled from to ReadOnly
- 454 Change MemoryCategory of NoCollisionConstraint from Instances to PhysicsParts
- 452 Change MemoryCategory of NoCollisionConstraint from PhysicsParts to Instances
- 453 Change MemoryCategory of NoCollisionConstraint from Instances to PhysicsParts
- 389 Add Part1
- 389 Add Part0
- 389 Add Enabled
- 389 Add NoCollisionConstraint
Members 3
Enabled
Type | Default | |
---|---|---|
bool | true |
This property determines whether the two linked parts, Part0 and Part1, will collide with each other.
Thread safety | ReadSafe |
---|---|
Category | Behavior |
Loaded/Saved | true |
Part0
Type | Default | |
---|---|---|
BasePart |
The second BasePart that the constraint connects.
Thread safety | ReadSafe |
---|---|
Category | Parts |
Loaded/Saved | true |
Part1
Type | Default | |
---|---|---|
BasePart |
The first BasePart that the constraint connects.
Thread safety | ReadSafe |
---|---|
Category | Parts |
Loaded/Saved | true |