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
bodyABody-
The first body.
bodyBBody-
The second body.
frameAJointFrame-
The frame on the first body.
frameBJointFrame-
The frame on the second body.
Returns
- JointDefinition
-
The definition, with the remaining values taken from the engine defaults.