Table of Contents

Method CreateDistanceJoint

Namespace
Box3D
Assembly
Box3D.NET.dll

CreateDistanceJoint(DistanceJointDefinition)

Creates a distance joint, the basis for ropes and springs.

public DistanceJoint CreateDistanceJoint(DistanceJointDefinition definition)

Parameters

definition DistanceJointDefinition

The joint settings.

Returns

DistanceJoint

The new joint.

Exceptions

ObjectDisposedException

The world has been disposed.

ArgumentException

The definition does not name two distinct, valid bodies.