Table of Contents

Method Between

Namespace
Box3D
Assembly
Box3D.NET.dll

Between(Body, Body, Vector3, Vector3)

Connects a point on one body to a point on another, taking the current separation as the rest length.

public static DistanceJointDefinition Between(Body bodyA, Body bodyB, Vector3 worldAnchorA, Vector3 worldAnchorB)

Parameters

bodyA Body

The first body.

bodyB Body

The second body.

worldAnchorA Vector3

The attachment point on the first body, in world space.

worldAnchorB Vector3

The attachment point on the second body, in world space.

Returns

DistanceJointDefinition

The definition.