setWorldAnchorB method

void setWorldAnchorB(
  1. Vector3 worldAnchorB
)

Set the anchor point on body B, using world coordinates.

Implementation

void setWorldAnchorB(Vector3 worldAnchorB) {
  bodyB.pointToLocalFrame(worldAnchorB, localAnchorB);
}