Skip to content

Class · inherits Instance

NoCollisionConstraint

Official docs ↗

An instance used to prevent collisions between two specific parts.

About NoCollisionConstraint

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:

Properties 3

  • Enabled: booleanDetermines whether the two linked BaseParts will collide with each other.

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

  • Part0: BasePartThe second BasePart that the constraint connects.
  • Part1: BasePartThe first BasePart that the constraint connects.

NoCollisionConstraint also has every member of Instance. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.