setWorldAnchorB method

void setWorldAnchorB(
  1. Vec3 worldAnchorB
)

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

Implementation

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