NoCollisionConstraint¶
An instance used to prevent collisions between two specific parts.
Not implemented yet
This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.
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 toolbar's 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. |
Inheritance¶
Object โ Instance โ NoCollisionConstraint
Properties¶
| Member | Signature | Summary |
|---|---|---|
Enabled |
Enabled: bool |
Determines whether the two linked BaseParts will collide with each other. |
Part0 |
Part0: BasePart |
The second BasePart that the constraint connects. |
Part1 |
Part1: BasePart |
The first BasePart that the constraint connects. |
Roblox reference: NoCollisionConstraint
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.