setTarget method

void setTarget(
  1. Vector2 target
)

Implementation

void setTarget(Vector2 target) {
  if (bodyB.isAwake == false) {
    bodyB.setAwake(true);
  }
  _targetA.setFrom(target);
}