Method CreateSphericalJoint
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
CreateSphericalJoint(SphericalJointDefinition)
Creates a ball-in-socket joint.
public SphericalJoint CreateSphericalJoint(SphericalJointDefinition definition)Parameters
definitionSphericalJointDefinition-
The joint settings.
Returns
- SphericalJoint
-
The new joint.
Exceptions
- ObjectDisposedException
-
The world has been disposed.
- ArgumentException
-
The definition does not name two distinct, valid bodies.