idleHandPosition property
Vector2
get
idleHandPosition
Implementation
Vector2 get idleHandPosition {
const idleAngle = -math.pi / 2;
final sy = position.y - _shoulderYAboveFeet;
return Vector2(
position.x + _shoulderX + math.cos(idleAngle) * _armLen,
sy + math.sin(idleAngle) * _armLen,
);
}