# Vector:Distance2D

- **Ortam:** İstemci, Sunucu, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/Vector:Distance2D
- **Çeviri tarihi:** 2025-09-08

```lua
number Vector:Distance2D( Vector otherVector )
```

## Açıklama

Vektör ile diğer vektör arasındaki Öklid mesafesini 2D uzayda döndürür. Z ekseni göz ardı edilir.

> **NOT:** Bu fonksiyon [Vector:Distance2DSqr](https://gmod.tr/wiki/Vector:Distance2DSqr)'dan daha maliyetlidir. Ancak, karesel mesafeler Öklid mesafeleriyle aynı olmadığından, onu kullanmadan önce lütfen [Vector:Distance2DSqr](https://gmod.tr/wiki/Vector:Distance2DSqr) için olan notlara bakın.

## Argümanlar

1. [Vector](https://gmod.tr/wiki/Vector) **otherVector**: Mesafenin hesaplanacağı vektör.

## Döndürdükleri

1. [number](https://gmod.tr/wiki/number): Vektörler arasındaki 2D uzaydaki mesafe.

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/Vector:Distance2D
