# util.IsRayIntersectingRay

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

```lua
boolean, number, number util.IsRayIntersectingRay( Vector ray1Start, Vector ray1End, Vector ray2Start, Vector ray2End )
```

## Açıklama

Bir ışın-ışın kesişim testi gerçekleştirir ve bir kesişim olup olmadığını döndürür.

## Argümanlar

1. [Vector](https://gmod.tr/wiki/Vector) **ray1Start**: Birinci ışının başlangıç pozisyonu.
2. [Vector](https://gmod.tr/wiki/Vector) **ray1End**: Birinci ışının bitiş pozisyonu.
3. [Vector](https://gmod.tr/wiki/Vector) **ray2Start**: İkinci ışının başlangıç pozisyonu.
4. [Vector](https://gmod.tr/wiki/Vector) **ray2End**: İkinci ışının bitiş pozisyonu.

## Döndürülenler

1. [boolean](https://gmod.tr/wiki/boolean): Eğer bir kesişim varsa `true`, yoksa `false`.
2. [number](https://gmod.tr/wiki/number): Eğer bir kesişim varsa, 1. ışının başlangıcından kesişime olan mesafe.
3. [number](https://gmod.tr/wiki/number): Eğer bir kesişim varsa, 2. ışının başlangıcından kesişime olan 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/util.IsRayIntersectingRay
