handPosition property

Vector2 get handPosition

Implementation

Vector2 get handPosition {
  final sy = position.y - _shoulderYAboveFeet + _bodyOffsetY;
  return Vector2(
    position.x + _shoulderX + math.cos(_armAngle) * _armLen,
    sy + math.sin(_armAngle) * _armLen,
  );
}