createJoint abstract method

int createJoint(
  1. int bodyA,
  2. int bodyB,
  3. JointSettings3D settings
)

Joins bodyA to bodyB, or to the world when bodyB is 0; 0 when it cannot be made. Both must be bodies createBody made, not a character's body.

Implementation

int createJoint(int bodyA, int bodyB, JointSettings3D settings);