Method CreatePrismaticJoint
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
CreatePrismaticJoint(PrismaticJointDefinition)
Creates a slider.
public PrismaticJoint CreatePrismaticJoint(PrismaticJointDefinition definition)Parameters
definitionPrismaticJointDefinition-
The joint settings.
Returns
- PrismaticJoint
-
The new joint.
Exceptions
- ObjectDisposedException
-
The world has been disposed.
- ArgumentException
-
The definition does not name two distinct, valid bodies.