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
bodyABody-
The first body.
bodyBBody-
The second body.
worldAnchorAVector3-
The attachment point on the first body, in world space.
worldAnchorBVector3-
The attachment point on the second body, in world space.
Returns
- DistanceJointDefinition
-
The definition.