Method CreateWeldJoint
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
CreateWeldJoint(WeldJointDefinition)
Creates a weld joint, holding two bodies rigidly together.
public WeldJoint CreateWeldJoint(WeldJointDefinition definition)Parameters
definitionWeldJointDefinition-
The joint settings.
Returns
- WeldJoint
-
The new joint.
Exceptions
- ObjectDisposedException
-
The world has been disposed.
- ArgumentException
-
The definition does not name two distinct, valid bodies.