Method CreateWheelJoint
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
CreateWheelJoint(WheelJointDefinition)
Creates a wheel joint with suspension, spin and optional steering.
public WheelJoint CreateWheelJoint(WheelJointDefinition definition)Parameters
definitionWheelJointDefinition-
The joint settings.
Returns
- WheelJoint
-
The new joint.
Exceptions
- ObjectDisposedException
-
The world has been disposed.
- ArgumentException
-
The definition does not name two distinct, valid bodies.