# PhysObj:CalculateVelocityOffset

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

```lua
Vector, Vector PhysObj:CalculateVelocityOffset( Vector impulse, Vector position )
```

## Açıklama

Belirtilen bir itme için kütle merkezindeki doğrusal ve açısal hızları hesaplar. Çıktılar sırasıyla doğrudan [PhysObj:AddVelocity](https://gmod.tr/wiki/PhysObj:AddVelocity) ve [PhysObj:AddAngleVelocity](https://gmod.tr/wiki/PhysObj:AddAngleVelocity) fonksiyonlarına aktarılabilir.

> **UYARI:** Fizik nesnesinin hareketi devre dışı bırakılmışsa bu fonksiyon sıfır uzunluklu vektörler döndürür. Bakınız: [PhysObj:IsMotionEnabled](https://gmod.tr/wiki/PhysObj:IsMotionEnabled).

## Argümanlar

1. [Vector](https://gmod.tr/wiki/Vector) **impulse**: Nesneye etki eden itme, `kg*source_unit/s` cinsinden. (Dünya koordinat sisteminde)
2. [Vector](https://gmod.tr/wiki/Vector) **position**: İtmenin dünya koordinatlarındaki konumu (`source units` cinsinden)

## Dönen Değerler

1. [Vector](https://gmod.tr/wiki/Vector): Fizik nesnesinin kütle merkezindeki itmeden hesaplanan doğrusal hız, `source_unit/s` cinsinden. (Dünya koordinat sisteminde)
2. [Vector](https://gmod.tr/wiki/Vector): Fizik nesnesinin kütle merkezindeki itmeden hesaplanan açısal hız, `derece/s` cinsinden. (Yerel koordinat sisteminde)

- [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/PhysObj:CalculateVelocityOffset
