# Entity:NearestPoint

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

```lua
Vector Entity:NearestPoint( Vector position )
```

## Açıklama

Verilen pozisyondan varlığın OBBox'unun (Yönelimli Sınırlayıcı Kutu) orijinine doğru bir kesişim testi gerçekleştirir ve OBBox üzerindeki isabet pozisyonunu döndürür.

Bu fonksiyon, varlığın bir fizik nesnesine değil, bir çarpışma ağına (collision mesh) sahip olmasını gerektirir ve `SOLID_NONE`'dan etkilenir.

## Argümanlar

1. [Vector](https://gmod.tr/wiki/Vector) **position**: Kesişim testinin başlatılacağı vektör.

## Döndürülen Değer

1. [Vector](https://gmod.tr/wiki/Vector): Varlığın sınırlayıcı kutusunun dünya koordinatlarındaki en yakın isabet noktası.

- [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/Entity:NearestPoint
