Method CreateFilterJoint
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
CreateFilterJoint(FilterJointDefinition)
Creates a filter joint, stopping two bodies from colliding.
public FilterJoint CreateFilterJoint(FilterJointDefinition definition)Parameters
definitionFilterJointDefinition-
The joint settings.
Returns
- FilterJoint
-
The new joint.
Exceptions
- ObjectDisposedException
-
The world has been disposed.
- ArgumentException
-
The definition does not name two distinct, valid bodies.