| TriangleMeshShapeEnableContactWelding Property |
Gets or sets a value indicating whether contact welding is enabled.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public bool EnableContactWelding { get; set; }
Public Property EnableContactWelding As Boolean
Get
Set
public:
property bool EnableContactWelding {
bool get ();
void set (bool value);
}
member EnableContactWelding : bool with get, set
Property Value
Type:
Boolean if contact welding is enabled; otherwise,
.
The default is
.
Remarks
Contact welding is a process that improves collision detection contacts at the edges of
triangles. Additional information is stored with the shape to support welding. If the mesh
is only used for
Boolean queries or for ray casting,
contact welding is not needed and
EnableContactWelding can be set to
. Further, contact welding is not supported for two-sided meshes
(see
IsTwoSided).
See Also