Table of Contents

Method Connect

Namespace
Box3D
Assembly
Box3D.NET.dll

Connect(Body, Body, JointFrame, JointFrame)

Creates a definition connecting two bodies with the given frames.

public static JointDefinition Connect(Body bodyA, Body bodyB, JointFrame frameA, JointFrame frameB)

Parameters

bodyA Body

The first body.

bodyB Body

The second body.

frameA JointFrame

The frame on the first body.

frameB JointFrame

The frame on the second body.

Returns

JointDefinition

The definition, with the remaining values taken from the engine defaults.