# Vector:AngleEx

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

```lua
Angle Vector:AngleEx( Vector up )
```

## Açıklama

Bu vektörün açısını (normalize edilmiş) döndürür, ancak yukarı yönün [Vector](https://gmod.tr/wiki/Global.Vector)( 0, 0, 1 ) olduğunu varsaymak yerine ([Vector:Angle](https://gmod.tr/wiki/Vector:Angle) fonksiyonunun yaptığı gibi), açı için hangi yönün 'yukarı' olduğunu belirtebilirsiniz.

## Argümanlar

1. [Vector](https://gmod.tr/wiki/Vector) **up**: Yukarı yön vektörü

## Dönen Değerler

1. [Angle](https://gmod.tr/wiki/Angle): Açı

### Örnek

Fonksiyonun kullanımını gösterir

```lua
print( Vector( 0, 0, 100 ):AngleEx( Vector( 0, 0, 0 ) ) )
```

**Çıktı:** Angle( -90.000, -0.000, 0.000 )

### Örnek

Açı oluşturmak için ileri ve yukarı vektörünü kullanın. Aşağıdaki bu iki satır aynı açıyı döndürecektir

```lua
local e = ents.Create("prop_physics")
print(e:GetAngles())
print(e:GetForward():AngleEx(e:GetUp()))
```

- [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:AngleEx
