NoCollisionConstraint
The NoCollisionConstraint is an instance used to prevent collisions between two specific parts. Connected Parts will have no collision reaction between them, but can still have collisions with the rest of the world. Both parts can still receive touch events.
Using a NoCollisionConstraint allows you to create and share Models with customized collision filtering. You can still achieve collision filtering with Collision Groups but you can't export that information to a model without adding a script to set them when the game runs.
It also provides a quicker way to disable specific problematic collisions. However, if you are trying to stop a large number of parts from colliding with another, it might be better to use Collision Groups.
The easiest way to add an NoCollisionConstraint is from the Create Constraint dropdown menu.
Similar to other constraints, this tool will act differently based on how many parts are selected when the tool is activated.
No Parts Selected
If no parts are selected when the NoCollisionConstraint tool is clicked, the next two parts that are clicked on will be connected. If the same part is clicked twice no link will be created.
One Part Selected
If one part is selected when the NoCollisionConstraint tool is clicked, the next part that is clicked on will be connected to the selected part.
Two Parts Selected
If two parts are selected when the NoCollisionConstraint tool is clicked, the two parts will be connected. You cannot create an NoCollisionConstraint with more than two parts selected.
Summary
Properties
Methods
Events
Properties
Enabled
This property determines whether the two constrained parts, NoCollisionConstraint.Part0 and NoCollisionConstraint.Part1, will collide with each other.
Part0
The second Part that the constraint connects.
Part1
The first Part that the constraint connects.