getLinearVelocityFromLocalPoint method

Vector2 getLinearVelocityFromLocalPoint (Vector2 localPoint)

Get the world velocity of a local point.

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

Implementation

Vector2 getLinearVelocityFromLocalPoint(Vector2 localPoint) {
  Vector2 out = new Vector2.zero();
  getLinearVelocityFromLocalPointToOut(localPoint, out);
  return out;
}