# util.IntersectRayWithPlane

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

```lua
Vector util.IntersectRayWithPlane( Vector rayOrigin, Vector rayDirection, Vector planePosition, Vector planeNormal )
```

## Açıklama

[Işın-düzlem kesişimi](https://en.wikipedia.org/wiki/Line%E2%80%93plane_intersection) gerçekleştirir ve isabet pozisyonunu veya nil değerini döndürür.

## Argümanlar

1. [Vector](https://gmod.tr/wiki/Vector) **rayOrigin**: Işının başlangıç/çıkış pozisyonu.
2. [Vector](https://gmod.tr/wiki/Vector) **rayDirection**: Işının yönü.
3. [Vector](https://gmod.tr/wiki/Vector) **planePosition**: Düzlemin herhangi bir pozisyonu.
4. [Vector](https://gmod.tr/wiki/Vector) **planeNormal**: Düzlemin normal vektörü.

## Döndürülenler

1. [Vector](https://gmod.tr/wiki/Vector): Kesişimin pozisyonu, eğer isabet etmezse nil.

- [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/util.IntersectRayWithPlane
