Roblox UtilitiesDevlHub Roblox Documentation

Class

NoCollisionConstraint

Inherits
Instance › Object
Memory category
BaseParts

An instance used to prevent collisions between two specific parts.

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.

Properties 3#

EnabledbooleanDetermines whether the two linked BaseParts will collide with each other.ReadSafe
Part0BasePartThe second BasePart that the constraint connects.ReadSafe
Part1BasePartThe first BasePart that the constraint connects.ReadSafe

Enabled: boolean#

ReadSafe

This property determines whether the two linked parts, Part0 and Part1, will collide with each other.

Part0: BasePart#

ReadSafe

The second BasePart that the constraint connects.

Part1: BasePart#

ReadSafe

The first BasePart that the constraint connects.

Inherited members#

Inherited from Instance 58
Inherited from Object 6
Properties (2)

ClassName, className

Events (1)

Changed