getLinearVelocityFromWorldPoint method

Vector2 getLinearVelocityFromWorldPoint (Vector2 worldPoint)

Get the world linear velocity of a world point attached to this body.

@param a point in world coordinates. @return the world velocity of a point.

Implementation

Vector2 getLinearVelocityFromWorldPoint(Vector2 worldPoint) {
  Vector2 out = new Vector2.zero();
  getLinearVelocityFromWorldPointToOut(worldPoint, out);
  return out;
}